- remove viewMenu.

This commit is contained in:
zhujinyong
2021-03-17 10:10:33 +08:00
parent 140d96c1c5
commit 409a8384dc
2 changed files with 0 additions and 11 deletions

View File

@@ -102,7 +102,6 @@ class program extends control
if(empty($program) || $program->type != 'program') die(js::error($this->lang->notFound) . js::locate('back'));
$this->lang->program->switcherMenu = $this->program->getSwitcher($programID, true);
$this->program->setViewMenu($programID);
/* Load pager and get tasks. */
$this->app->loadClass('pager', $static = true);
@@ -396,7 +395,6 @@ class program extends control
$this->app->session->set('projectList', $this->app->getURI(true));
$this->lang->program->switcherMenu = $this->program->getSwitcher($programID, true);
$this->program->setViewMenu($programID);
$this->loadModel('datatable');
@@ -437,7 +435,6 @@ class program extends control
public function stakeholder($programID = 0, $orderBy = 't1.id_desc', $recTotal = 0, $recPerPage = 15, $pageID = 1)
{
$this->lang->program->switcherMenu = $this->program->getSwitcher($programID, true);
$this->program->setViewMenu($programID);
/* Load pager and get tasks. */
$this->app->loadClass('pager', $static = true);
@@ -473,7 +470,6 @@ class program extends control
$this->loadModel('user');
$this->lang->program->switcherMenu = $this->program->getSwitcher($programID, true);
$this->program->setViewMenu($programID);
$this->loadModel('dept');
$deptUsers = $dept === '' ? array() : $this->dept->getDeptUserPairs($dept);