Merge branch 'master' of github.com:openvk/openvk

This commit is contained in:
veselcraft 2022-03-27 17:58:04 +03:00
commit 1aaad08f17
No known key found for this signature in database
GPG key ID: AED66BC1AC628A4E

View file

@ -276,6 +276,8 @@ final class PhotosPresenter extends OpenVKPresenter
$photo->isolate();
$photo->delete();
exit("Фотография успешно удалена!");
$this->flash("succ", "Фотография удалена", "Эта фотография была успешно удалена.");
$this->redirect("/id0", static::REDIRECT_TEMPORARY);
}
}