]> git.mxchange.org Git - friendica.git/blobdiff - mod/wall_upload.php
"escapeTags" is finally removed
[friendica.git] / mod / wall_upload.php
index 38819c9a581768893e913ab2c2d8ad30265e8293..fd88ab2bc262a76af36359b6852caadf26f34d62 100644 (file)
@@ -177,9 +177,6 @@ function wall_upload_post(App $a, $desktopmode = true)
        @unlink($src);
 
        $max_length = DI::config()->get('system', 'max_image_length');
-       if (!$max_length) {
-               $max_length = MAX_IMAGE_LENGTH;
-       }
        if ($max_length > 0) {
                $Image->scaleDown($max_length);
                $filesize = strlen($Image->asString());