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

bugfix: subscription deletion

This commit is contained in:
Alexander Yakovlev 2014-02-04 15:53:23 +07:00
parent a0421ce2e8
commit 62d49e37fd

View file

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