]> git.mxchange.org Git - friendica.git/commitdiff
revert changes, remove line (from code-review)
authorJakobus Schürz <jakobus.schuerz@schuerz.at>
Fri, 17 Mar 2023 13:22:32 +0000 (14:22 +0100)
committerJakobus Schürz <jakobus.schuerz@schuerz.at>
Sun, 19 Mar 2023 17:52:46 +0000 (18:52 +0100)
src/App/Page.php
src/Module/Post/Edit.php
src/Object/Post.php

index 45ec6be0fbf4c53e41ad427ba99cf3d13f435dc2..23f542f7def77545e637376ba498191272ca5446 100644 (file)
@@ -261,7 +261,6 @@ class Page implements ArrayAccess
                        // Dropzone
                        '$max_imagesize' => round(\Friendica\Util\Strings::getBytesFromShorthand($config->get('system', 'maximagesize')) / 1000000, 1),
 
-
                ]) . $this->page['htmlhead'];
        }
 
index 5ddc250d8c4c6d7be7cd8ef44a420b012a10a5f4..5fb339e17971b83b1b0111a8e18db1dbc108aeb1 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;
 
@@ -184,8 +182,8 @@ class Edit extends BaseModule
                        '$shortpermset' => $this->t('Permissions'),
 
                        '$compose_link_title' => $this->t('Open Compose page'),
-
                ]);
+
                return $output;
        }
 
index 3f4d061a17eedecedeead127e4b9a6fd059cc052..17c0c1f68e640b7ec608a969e8741cd800b66e9c 100644 (file)
@@ -1068,7 +1068,7 @@ class Post
                                '$prompttext'  => DI::l10n()->t('Please enter a image/video/audio/webpage URL:'),
                                '$preview'     => DI::l10n()->t('Preview'),
                                '$indent'      => $indent,
-                               '$rand_num'    => Crypto::randomDigits(12),
+                               '$rand_num'    => Crypto::randomDigits(12)
                        ]);
                }