Browse Source

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

prodstable
keun 8 years ago
parent
commit
b0b4e058f3
1 changed files with 0 additions and 13 deletions
  1. +0
    -13
      backend/controllers/UserController.php

+ 0
- 13
backend/controllers/UserController.php View File

@@ -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.

Loading…
Cancel
Save