diff --git a/module/custom/control.php b/module/custom/control.php index 4bd3894409..db72e133d4 100644 --- a/module/custom/control.php +++ b/module/custom/control.php @@ -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. *