Pārlūkot izejas kodu

Correctif : liaison UserProducer dans ProducerBaseController

dev
Guillaume pirms 4 gadiem
vecāks
revīzija
d7bf20ce48
1 mainītis faili ar 0 papildinājumiem un 4 dzēšanām
  1. +0
    -4
      producer/controllers/ProducerBaseController.php

+ 0
- 4
producer/controllers/ProducerBaseController.php Parādīt failu

@@ -92,10 +92,6 @@ class ProducerBaseController extends CommonController
$this->redirect(Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/producer-offline','id' => $producer->id])) ;
}
if(!$userProducer) {
Producer::addUser(User::getCurrentId(), $producer->id, 0) ;
}
return parent::beforeAction($event);
}

Notiek ielāde…
Atcelt
Saglabāt