* [bug#57800,0.5h] rename the method clear to flush because it is declared in baseControl class.

This commit is contained in:
liugang
2024-12-09 09:21:27 +08:00
committed by 刘刚
parent 2abbfff91f
commit b46ff0492e
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ class cache extends control
* @access public
* @return void
*/
public function clear()
public function flush()
{
$this->cache->clear();
return $this->send(array('result' => 'success', 'message' => $this->lang->cache->clearSuccess, 'load' => true));