mirror of
https://github.com/openvk/openvk
synced 2025-01-09 01:09:46 +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->isolate();
|
||||||
$photo->delete();
|
$photo->delete();
|
||||||
exit("Фотография успешно удалена!");
|
|
||||||
|
$this->flash("succ", "Фотография удалена", "Эта фотография была успешно удалена.");
|
||||||
|
$this->redirect("/id0", static::REDIRECT_TEMPORARY);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue