mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
Photos: Show deletion notify instead of blank page
This commit is contained in:
parent
8caecbe362
commit
ccf96cb597
1 changed files with 3 additions and 1 deletions
|
@ -276,6 +276,8 @@ final class PhotosPresenter extends OpenVKPresenter
|
|||
|
||||
$photo->isolate();
|
||||
$photo->delete();
|
||||
exit("Фотография успешно удалена!");
|
||||
|
||||
$this->flash("succ", "Фотография удалена", "Эта фотография была успешно удалена.");
|
||||
$this->redirect("/id0", static::REDIRECT_TEMPORARY);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue