mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Merge branch 'master' of github.com:openvk/openvk
This commit is contained in:
commit
1aaad08f17
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