]> git.mxchange.org Git - friendica.git/blobdiff - mod/photos.php
Merge pull request #12920 from annando/issue-12701
[friendica.git] / mod / photos.php
index f9d4637c3a6ae81fa01db7a81940ed6cf41f633f..18db9c15d997e8433ddd6d62552cdb56cc73e5ae 100644 (file)
@@ -1140,8 +1140,6 @@ function photos_content(App $a)
                                                '$loading' => DI::l10n()->t('Loading...'),
                                                '$qcomment' => $qcomment,
                                                '$rand_num' => Crypto::randomDigits(12),
-                                               // Dropzone
-                                               '$max_imagesize' => round(\Friendica\Util\Strings::getBytesFromShorthand(DI::config()->get('system', 'maximagesize')) / 1000000,1),
                                        ]);
                                }
                        }
@@ -1197,8 +1195,6 @@ function photos_content(App $a)
                                                '$preview' => DI::l10n()->t('Preview'),
                                                '$qcomment' => $qcomment,
                                                '$rand_num' => Crypto::randomDigits(12),
-                                               // Dropzone
-                                               '$max_imagesize' => round(Strings::getBytesFromShorthand(DI::config()->get('system', 'maximagesize')) / 1000000,1),
                                        ]);
                                }
 
@@ -1273,8 +1269,6 @@ function photos_content(App $a)
                                                        '$preview' => DI::l10n()->t('Preview'),
                                                        '$qcomment' => $qcomment,
                                                        '$rand_num' => Crypto::randomDigits(12),
-                                                       // Dropzone
-                                                       '$max_imagesize' => round(Strings::getBytesFromShorthand(DI::config()->get('system', 'maximagesize')) / 1000000,1),
                                                ]);
                                        }
                                }