Remoe setLogger

This commit is contained in:
Michael RICOIS 2017-02-13 14:20:17 +01:00
parent 3f0c0ee3d8
commit b9b22b5419
2 changed files with 0 additions and 7 deletions

View File

@ -93,13 +93,7 @@ class Metier_Insee_MInsee extends Metier_Insee_Table
{
$this->conn = Zend_Registry::get('doctrine');
$this->iBodacc = new Metier_Bodacc_MBodacc();
}
/**
* Set Logger from app registry
*/
public function setLogger()
{
if (Zend_Registry::isRegistered('logger')) {
$this->logger = Zend_Registry::get('logger');
}

View File

@ -34,7 +34,6 @@ class Entreprise extends Scores_Ws_Server
}
$iInsee = new Metier_Insee_MInsee();
$iInsee->setLogger();
$entrep = $iInsee->getIdentiteEntreprise($siren, $nic, $id, $forceVerif);
if (empty($entrep) || empty($entrep['id']) ) {
$this->sendError('1020');