diff --git a/module/caselib/control.php b/module/caselib/control.php index 5a3721082c..6fd78cb1fc 100644 --- a/module/caselib/control.php +++ b/module/caselib/control.php @@ -176,9 +176,6 @@ class caselib extends control $this->session->set('caseList', $this->app->getURI(true), 'qa'); $this->session->set('caselibList', $this->app->getURI(true), 'qa'); - /* Display of branch label. */ - $showBranch = $this->loadModel('branch')->showBranch(0); - /* Set menu. */ $libID = $this->caselib->saveLibState($libID, $libraries); setcookie('preCaseLibID', $libID, $this->config->cookieLife, $this->config->webRoot, '', $this->config->cookieSecure, true); @@ -234,7 +231,7 @@ class caselib extends control $this->view->moduleName = $moduleID ? $this->tree->getById($moduleID)->name : $this->lang->tree->all; $this->view->param = $param; $this->view->setModule = true; - $this->view->showBranch = $showBranch; + $this->view->showBranch = false; $this->display(); }