- Delete unuse method.

This commit is contained in:
tianshujie
2023-08-29 13:15:48 +08:00
parent 9a0ffcba58
commit 94809ebbd3
-30
View File
@@ -3886,36 +3886,6 @@ class execution extends control
echo $this->fetch('doc', 'tableContents', "type=execution&objectID=$executionID&libID=$libID&moduleID=$moduleID&browseType=$browseType&orderBy=$orderBy&param=$param&recTotal=$recTotal&recTotal=$recTotal&recPerPage=$recPerPage&pageID=$pageID");
}
/**
* Kanban setting.
*
* @param int $executionID
* @access public
* @return void
*/
public function ajaxKanbanSetting($executionID)
{
if($_POST)
{
$this->loadModel('setting');
$data = fixer::input('post')->get();
if(common::hasPriv('execution', 'kanbanHideCols'))
{
$allCols = $data->allCols;
$this->setting->setItem("system.execution.kanbanSetting.allCols", $allCols);
}
if(common::hasPriv('execution', 'kanbanColsColor')) $this->setting->setItem("system.execution.kanbanSetting.colorList", json_encode($data->colorList));
return print(js::reload('parent.parent'));
}
$this->app->loadLang('task');
$this->view->setting = $this->execution->getKanbanSetting();
$this->view->executionID = $executionID;
$this->display();
}
/**
* Ajax reset kanban setting
*