From d536e04df2b59adf00a266a0ba75d2ccfb40e999 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 21 Nov 2023 16:21:13 +0800 Subject: [PATCH] - Remove unused method of custom::working. --- module/custom/control.php | 18 ------------------ 1 file changed, 18 deletions(-) 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. *