- Remove unused method of custom::working.

This commit is contained in:
tianshujie
2023-11-21 16:21:28 +08:00
parent 6f875a17c7
commit d536e04df2
-18
View File
@@ -90,24 +90,6 @@ class custom extends control
return $this->sendSuccess(array('load' => true));
}
/**
* Set working mode function.
*
* @access public
* @return void
*/
public function working()
{
if($_POST)
{
$this->loadModel('setting')->setItem('system.common.global.flow', $this->post->flow);
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => 'reload'));
}
$this->view->title = $this->lang->custom->working;
$this->display();
}
/**
* Set Required.
*