revert changes, remove line (from code-review)

This commit is contained in:
Jakobus Schürz 2023-03-17 14:22:32 +01:00
parent 399ee74e05
commit faa524faec
3 changed files with 2 additions and 5 deletions

View 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'];
}

View 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;
}

View 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)
]);
}