Sfoglia il codice sorgente

Correctif : liaison UserProducer dans ProducerBaseController

refactoring
Guillaume 4 anni fa
parent
commit
d7bf20ce48
1 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  1. +0
    -4
      producer/controllers/ProducerBaseController.php

+ 0
- 4
producer/controllers/ProducerBaseController.php Vedi 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…
Annulla
Salva