* Finish task #70200.
This commit is contained in:
@@ -613,7 +613,6 @@ class commonModel extends model
|
||||
|
||||
if($config->edition == 'open') unset($lang->createIcons['effort']);
|
||||
if($config->systemMode != 'new') unset($lang->createIcons['program']);
|
||||
if(!isset($config->projectMode) || $config->projectMode == 'noSprint') unset($lang->createIcons['execution']);
|
||||
|
||||
/* Check whether the creation permission is available, and print create buttons. */
|
||||
|
||||
@@ -1240,7 +1239,6 @@ class commonModel extends model
|
||||
|
||||
$searchObjects = $lang->searchObjects;
|
||||
if($config->systemMode != 'new') unset($searchObjects['program']);
|
||||
if(!isset($config->projectMode) || $config->projectMode == 'noSprint') unset($searchObjects['execution']);
|
||||
|
||||
foreach($searchObjects as $key => $value)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user