mirror of
https://github.com/openvk/openvk
synced 2024-12-23 09:01:15 +03:00
Make wall posts vidible to outside world
This commit is contained in:
parent
ae3850b75e
commit
be6a6610b1
1 changed files with 0 additions and 2 deletions
|
@ -303,8 +303,6 @@ final class WallPresenter extends OpenVKPresenter
|
||||||
|
|
||||||
function renderPost(int $wall, int $post_id): void
|
function renderPost(int $wall, int $post_id): void
|
||||||
{
|
{
|
||||||
$this->assertUserLoggedIn();
|
|
||||||
|
|
||||||
$post = $this->posts->getPostById($wall, $post_id);
|
$post = $this->posts->getPostById($wall, $post_id);
|
||||||
if(!$post || $post->isDeleted())
|
if(!$post || $post->isDeleted())
|
||||||
$this->notFound();
|
$this->notFound();
|
||||||
|
|
Loading…
Reference in a new issue