]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix regressiong from #2048 2320/head
authorMorris Jobke <hey@morrisjobke.de>
Thu, 24 Nov 2016 19:54:33 +0000 (20:54 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Thu, 24 Nov 2016 19:54:33 +0000 (20:54 +0100)
* fixes https://github.com/nextcloud/server/pull/2048#issuecomment-262826162

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
lib/private/LargeFileHelper.php

index 9d0fe864033b5e6e0478e5ddac76ef69fd624ab3..27916f856409caac4d84f14d22bc175bde76bf68 100644 (file)
@@ -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;