From 28eed678e0c7e37c73e528de440dccce5e8c9515 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Thu, 24 Nov 2016 20:54:33 +0100 Subject: [PATCH] Fix regressiong from #2048 * fixes https://github.com/nextcloud/server/pull/2048#issuecomment-262826162 Signed-off-by: Morris Jobke --- lib/private/LargeFileHelper.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/private/LargeFileHelper.php b/lib/private/LargeFileHelper.php index 9d0fe864033..27916f85640 100644 --- a/lib/private/LargeFileHelper.php +++ b/lib/private/LargeFileHelper.php @@ -98,10 +98,6 @@ class LargeFileHelper { if (!is_null($fileSize)) { return $fileSize; } - $fileSize = $this->getFileSizeViaCOM($filename); - if (!is_null($fileSize)) { - return $fileSize; - } $fileSize = $this->getFileSizeViaExec($filename); if (!is_null($fileSize)) { return $fileSize; -- 2.39.5