[WIP] Remove hack from WallPresenter

This commit is contained in:
Alma Armas 2020-09-29 13:02:33 -07:00
parent c193edc3d4
commit a67241c5da

View file

@ -166,7 +166,7 @@ final class WallPresenter extends OpenVKPresenter
if(!$canPost) if(!$canPost)
$this->flashFail("err", "Ошибка доступа", "Вам нельзя писать на эту стену."); $this->flashFail("err", "Ошибка доступа", "Вам нельзя писать на эту стену.");
if(iconv_strlen($this->postParam("text") ?? "") > 280) if(false)
$this->flashFail("err", "Не удалось опубликовать пост", "Пост слишком большой."); $this->flashFail("err", "Не удалось опубликовать пост", "Пост слишком большой.");
$flags = 0; $flags = 0;