Pārlūkot izejas kodu

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

master
keun pirms 8 gadiem
vecāks
revīzija
b0b4e058f3
1 mainītis faili ar 0 papildinājumiem un 13 dzēšanām
  1. +0
    -13
      backend/controllers/UserController.php

+ 0
- 13
backend/controllers/UserController.php Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt