From 445b1bb3d36dfabb7b1dcb9af396acd277e7ac26 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Mon, 25 Mar 2013 11:12:13 +0000 Subject: [PATCH] =?UTF-8?q?Suppression=20code,=20que=20je=20ne=20sais=20pa?= =?UTF-8?q?s=20d'ou=20=C3=A7a=20vient?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/IdentiteController.php | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/application/controllers/IdentiteController.php b/application/controllers/IdentiteController.php index 84f220152..02a07af03 100644 --- a/application/controllers/IdentiteController.php +++ b/application/controllers/IdentiteController.php @@ -583,23 +583,6 @@ class IdentiteController extends Zend_Controller_Action $user = new Scores_Utilisateur(); $this->view->assign('edition', $user->checkModeEdition()); - - if ( $user->checkPerm('ACTES') ) { - if ( $session->getFormeJuridique()>=3100 && $session->getFormeJuridique()<=3199 - || $session->getFormeJuridique()>=4000 && $session->getFormeJuridique()<=4999 - || $session->getFormeJuridique()>=5000 && $session->getFormeJuridique()<=5999 - || $session->getFormeJuridique()>=6000 && $session->getFormeJuridique()<=6999 ) { - - $this->view->assign('lienStatuts', $this->view->url(array( - 'controller' => 'pieces', - 'action' => 'actes', - 'siret' => $siren ), null, true) ); - $this->view->assign('lienBilans', $this->view->url(array( - 'controller' => 'pieces', - 'action' => 'bilans', - 'siret' => $siren ), null, true) ); - } - } $ws = new WsScores();