]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Post/Edit.php
spelling: occurred
[friendica.git] / src / Module / Post / Edit.php
index e28d54c9b2ce22343822e70a7cd4144c7ed9dd91..0d6badf4da4b4614ca330db3538821033750ecc4 100644 (file)
@@ -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;
        }