- Remove unused custom::score method.

This commit is contained in:
tianshujie
2023-11-22 10:47:17 +08:00
parent 7922a8fde2
commit 690190b468
-18
View File
@@ -128,24 +128,6 @@ class custom extends control
$this->display();
}
/**
* Set score display switch
*
* @access public
* @return void
*/
public function score()
{
if($_POST)
{
$this->loadModel('setting')->setItem('system.common.global.scoreStatus', $this->post->score);
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => 'reload'));
}
$this->view->title = $this->lang->custom->score;
$this->display();
}
/**
* Timezone.
*