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