From 9ae981c914d03d8e95fab75be816458bb1727789 Mon Sep 17 00:00:00 2001 From: Lucas Bartholemy Date: Fri, 8 Jul 2016 14:39:35 +0200 Subject: [PATCH] Temporarily disabled new image converter memory allocation --- protected/humhub/modules/file/libs/ImageConverter.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/protected/humhub/modules/file/libs/ImageConverter.php b/protected/humhub/modules/file/libs/ImageConverter.php index 80895ce728..a75196fb4b 100644 --- a/protected/humhub/modules/file/libs/ImageConverter.php +++ b/protected/humhub/modules/file/libs/ImageConverter.php @@ -97,6 +97,12 @@ class ImageConverter * @return boolean true if sufficient memory is available. */ public static function allocateMemory($sourceFile, $test = false) { + + /** + * Temporary disabled + */ + return true; + $width = 0; $height = 0; // buffer for memory needed by other stuff