X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fphotos.php;h=18db9c15d997e8433ddd6d62552cdb56cc73e5ae;hb=52a25ce6181c0b48a978f37a4ae3b94357dbb712;hp=d7d806bfc2f97eb1ff301165222393d2b984cc0c;hpb=39f7660a1dd4684df0f3601deee4ef30392143d1;p=friendica.git diff --git a/mod/photos.php b/mod/photos.php index d7d806bfc2..18db9c15d9 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -1140,8 +1140,6 @@ function photos_content(App $a) '$loading' => DI::l10n()->t('Loading...'), '$qcomment' => $qcomment, '$rand_num' => Crypto::randomDigits(12), - // Dropzone - '$max_imagesize' => floor(Strings::getBytesFromShorthand(DI::config()->get('system', 'maximagesize')) / 1000000), ]); } } @@ -1197,8 +1195,6 @@ function photos_content(App $a) '$preview' => DI::l10n()->t('Preview'), '$qcomment' => $qcomment, '$rand_num' => Crypto::randomDigits(12), - // Dropzone - '$max_imagesize' => floor(Strings::getBytesFromShorthand(DI::config()->get('system', 'maximagesize')) / 1000000), ]); } @@ -1273,8 +1269,6 @@ function photos_content(App $a) '$preview' => DI::l10n()->t('Preview'), '$qcomment' => $qcomment, '$rand_num' => Crypto::randomDigits(12), - // Dropzone - '$max_imagesize' => floor(Strings::getBytesFromShorthand(DI::config()->get('system', 'maximagesize')) / 1000000), ]); } }