* Rename config->custom->feature.
This commit is contained in:
@@ -22,8 +22,8 @@ $config->custom->requiredModules[35] = 'execution';
|
||||
$config->custom->requiredModules[40] = 'task';
|
||||
$config->custom->requiredModules[45] = 'build';
|
||||
|
||||
$config->custom->allFeatures = array('program', 'productRR', 'productUR', 'productLine', 'projectScrum', 'projectWaterfall', 'projectKanban', 'execution', 'vision');
|
||||
$config->custom->features = array('waterfall', 'productUR');
|
||||
$config->custom->allFeatures = array('program', 'productRR', 'productUR', 'productLine', 'projectScrum', 'projectWaterfall', 'projectKanban', 'execution', 'vision');
|
||||
$config->custom->dataFeatures = array('waterfall', 'productUR');
|
||||
|
||||
$config->custom->requiredModules[50] = 'bug';
|
||||
$config->custom->requiredModules[55] = 'testcase';
|
||||
|
||||
@@ -645,7 +645,7 @@ class custom extends control
|
||||
}
|
||||
|
||||
$disabledFeatures = array('program', 'productLine', 'scrum' => array('scrumMeasrecord'));
|
||||
foreach($this->config->custom->features as $feature)
|
||||
foreach($this->config->custom->dataFeatures as $feature)
|
||||
{
|
||||
$function = 'has' . ucfirst($feature) . 'Data';
|
||||
if(!$this->custom->$function())
|
||||
|
||||
@@ -897,7 +897,7 @@ class customModel extends model
|
||||
$disabledFeatures = '';
|
||||
if($mode == 'light')
|
||||
{
|
||||
foreach($this->config->custom->features as $feature)
|
||||
foreach($this->config->custom->dataFeatures as $feature)
|
||||
{
|
||||
$function = 'has' . ucfirst($feature) . 'Data';
|
||||
if(!$this->$function()) $disabledFeatures .= "$feature,";
|
||||
|
||||
@@ -101,7 +101,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<?php if(!$project->division and count($linkedProducts) == 1):?>
|
||||
<?php js::set('noticeDivsion', $lang->project->noticeDivsion);?>
|
||||
<?php js::set('divisionList', $lang->project->divisionList);?>
|
||||
|
||||
Reference in New Issue
Block a user