Ver código fonte

Suppression du ccript permettant de lier les users importés à la boulangerie "Le Chat des Noisettes"

prodstable
keun 8 anos atrás
pai
commit
b0b4e058f3
1 arquivos alterados com 0 adições e 13 exclusões
  1. +0
    -13
      backend/controllers/UserController.php

+ 0
- 13
backend/controllers/UserController.php Ver arquivo

@@ -47,19 +47,6 @@ class UserController extends Controller
],
];
}
public function actionInituseretablissement() {
$user = User::find()->all() ;
foreach($users as $u) {
$user_etab = new \common\models\UserEtablissement ;
$user_etab->id_user = $u->id ;
$user_etab->id_etablissement = 1 ;
$user_etab->save() ;
}
}

/**
* Lists all User models.

Carregando…
Cancelar
Salvar