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:
parent
a0421ce2e8
commit
62d49e37fd
|
@ -59,7 +59,7 @@ class Controller_Subscription extends Controller_Layout {
|
|||
|
||||
$confirmation = $this->request->post('confirmation');
|
||||
if ($confirmation === 'yes') {
|
||||
$post->delete();
|
||||
$model->delete();
|
||||
$this->redirect('/');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue