* Change judgment condition.
This commit is contained in:
@@ -177,7 +177,7 @@ $lang->admin->menuList->dev['menuOrder']['15'] = 'langItem';
|
||||
$lang->admin->menuList->dev['menuOrder']['20'] = 'editor';
|
||||
$lang->admin->menuList->dev['menuOrder']['25'] = 'entry';
|
||||
|
||||
if($config->edition != 'max')
|
||||
if($config->edition != 'max' and $config->edition != 'ipd')
|
||||
{
|
||||
unset($lang->admin->menuList->model['subMenu']['scrum']);
|
||||
unset($lang->admin->menuList->model['subMenu']['agileplus']);
|
||||
@@ -195,7 +195,7 @@ if(!helper::hasFeature('waterfallplus'))
|
||||
unset($lang->admin->menuList->model['subMenu']['waterfallplus']);
|
||||
unset($lang->admin->menuList->model['menuOrder']['25']);
|
||||
}
|
||||
if($config->edition == 'max')
|
||||
if($config->edition == 'max' or $config->edition == 'ipd')
|
||||
{
|
||||
if(!helper::hasFeature('scrum_auditplan') and !helper::hasFeature('scrum_process')) unset($lang->admin->menuList->model['subMenu']['scrum'], $lang->admin->menuList->model['menuOrder']['10']);
|
||||
if(!helper::hasFeature('agileplus_auditplan') and !helper::hasFeature('agileplus_process')) unset($lang->admin->menuList->model['subMenu']['agileplus'], $lang->admin->menuList->model['menuOrder']['20']);
|
||||
|
||||
Reference in New Issue
Block a user