- Remove unused method of custom::working.
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user