Explorar el Código

Correctif : liaison UserProducer dans ProducerBaseController

dev
Guillaume hace 4 años
padre
commit
d7bf20ce48
Se han modificado 1 ficheros con 0 adiciones y 4 borrados
  1. +0
    -4
      producer/controllers/ProducerBaseController.php

+ 0
- 4
producer/controllers/ProducerBaseController.php Ver fichero

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

Cargando…
Cancelar
Guardar