Browse Source

Correctif : liaison UserProducer dans ProducerBaseController

dev
Guillaume 4 years ago
parent
commit
d7bf20ce48
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      producer/controllers/ProducerBaseController.php

+ 0
- 4
producer/controllers/ProducerBaseController.php View File

@@ -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);
}

Loading…
Cancel
Save