* Adjust code.

This commit is contained in:
sgm0422
2022-01-13 22:56:11 +08:00
parent 297fd2d674
commit 907f96ecfd
6 changed files with 195 additions and 297 deletions
-9
View File
@@ -88,15 +88,6 @@ class executionModel extends model
unset($this->lang->execution->menu->build);
}
/* Hide story and qa menu when execution is story or design type. */
/*
if($execution and ($execution->attribute == 'story' or $execution->attribute == 'design'))
{
unset($this->lang->execution->menu->story);
unset($this->lang->execution->menu->qa);
}
*/
if($executions and (!isset($executions[$executionID]) or !$this->checkPriv($executionID))) $this->accessDenied();
$moduleName = $this->app->getModuleName();