* Delete useless code.
This commit is contained in:
@@ -99,18 +99,6 @@ class datatable extends control
|
||||
unset($cols['caseCount']);
|
||||
}
|
||||
|
||||
if($module == 'execution' and $method == 'all')
|
||||
{
|
||||
if($extra == 'execution' or $extra == 'project')
|
||||
{
|
||||
unset($cols['percent']);
|
||||
unset($cols['attribute']);
|
||||
unset($cols['actions']);
|
||||
}
|
||||
|
||||
if($extra == 'project' or $extra == 'stage') unset($cols['project']);
|
||||
}
|
||||
|
||||
$this->view->cols = $cols;
|
||||
$this->view->setting = $setting;
|
||||
$this->display();
|
||||
|
||||
Reference in New Issue
Block a user