* The censorship cache cleanup command has been moved to the model

This commit is contained in:
Visman 2018-11-14 22:39:01 +07:00
parent 548d7a2232
commit 0074c36e8b
2 changed files with 2 additions and 2 deletions

View file

@ -58,6 +58,8 @@ class Save extends Method
$this->c->DB->exec($sql, $vars);
}
$this->c->Cache->delete('censorship');
return $this->model;
}
}

View file

@ -36,8 +36,6 @@ class Censoring extends Admin
$this->c->censorship->save($v->form);
$this->c->Cache->delete('censorship'); //????
return $this->c->Redirect->page('AdminCensoring')->message('Data updated redirect');
}