1
0
Fork 0
mirror of https://github.com/Oreolek/kangana.git synced 2024-06-26 03:40:56 +03:00

letter deletion

This commit is contained in:
Alexander Yakovlev 2014-02-19 17:09:06 +07:00
parent f3879c6f81
commit 6fd8e47247

View file

@ -59,7 +59,7 @@ class Controller_Letter extends Controller_Layout {
$confirmation = $this->request->post('confirmation');
if ($confirmation === 'yes') {
$post->delete();
$model->delete();
$this->redirect('/');
}
}