X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FPost%2FEdit.php;h=0d6badf4da4b4614ca330db3538821033750ecc4;hb=a8402109b183e81dad4e5443883dd292df094b86;hp=e28d54c9b2ce22343822e70a7cd4144c7ed9dd91;hpb=39f7660a1dd4684df0f3601deee4ef30392143d1;p=friendica.git diff --git a/src/Module/Post/Edit.php b/src/Module/Post/Edit.php index e28d54c9b2..0d6badf4da 100644 --- a/src/Module/Post/Edit.php +++ b/src/Module/Post/Edit.php @@ -28,7 +28,6 @@ use Friendica\Core\Hook; use Friendica\Core\L10n; use Friendica\Core\Renderer; use Friendica\Core\Session\Capability\IHandleUserSessions; -use Friendica\DI; use Friendica\Model\Contact; use Friendica\Model\Post; use Friendica\Model\User; @@ -36,7 +35,6 @@ use Friendica\Module\Response; use Friendica\Navigation\SystemMessages; use Friendica\Network\HTTPException; use Friendica\Util\Crypto; -use Friendica\Util\Strings; use Friendica\Util\Profiler; use Psr\Log\LoggerInterface; @@ -85,7 +83,7 @@ class Edit extends BaseModule } $fields = [ - 'allow_cid', 'allow_gid', 'deny_cid', 'deny_gid', + 'allow_cid', 'allow_gid', 'deny_cid', 'deny_gid', 'gravity', 'body', 'title', 'uri-id', 'wall', 'post-type', 'guid' ]; @@ -184,10 +182,8 @@ class Edit extends BaseModule '$shortpermset' => $this->t('Permissions'), '$compose_link_title' => $this->t('Open Compose page'), - - // Dropzone - '$max_imagesize' => floor(Strings::getBytesFromShorthand(DI::config()->get('system', 'maximagesize')) / 1000000), ]); + return $output; }