* The censorship cache cleanup command has been moved to the model
This commit is contained in:
parent
548d7a2232
commit
0074c36e8b
2 changed files with 2 additions and 2 deletions
|
@ -58,6 +58,8 @@ class Save extends Method
|
|||
$this->c->DB->exec($sql, $vars);
|
||||
}
|
||||
|
||||
$this->c->Cache->delete('censorship');
|
||||
|
||||
return $this->model;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue