diff options
Diffstat (limited to 'lib/private/Files')
-rw-r--r-- | lib/private/Files/Storage/Local.php | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/private/Files/Storage/Local.php b/lib/private/Files/Storage/Local.php index ff157bfe7f6..0c5375c0240 100644 --- a/lib/private/Files/Storage/Local.php +++ b/lib/private/Files/Storage/Local.php @@ -170,11 +170,6 @@ class Local extends \OC\Files\Storage\Common { return false; } $statResult = @stat($fullPath); - if (PHP_INT_SIZE === 4 && $statResult && !$this->is_dir($path)) { - $filesize = $this->filesize($path); - $statResult['size'] = $filesize; - $statResult[7] = $filesize; - } if (is_array($statResult)) { $statResult['full_path'] = $fullPath; } @@ -246,10 +241,6 @@ class Local extends \OC\Files\Storage\Common { return 0; } $fullPath = $this->getSourcePath($path); - if (PHP_INT_SIZE === 4) { - $helper = new \OC\LargeFileHelper; - return $helper->getFileSize($fullPath); - } return filesize($fullPath); } @@ -271,10 +262,6 @@ class Local extends \OC\Files\Storage\Common { if (!$this->file_exists($path)) { return false; } - if (PHP_INT_SIZE === 4) { - $helper = new \OC\LargeFileHelper(); - return $helper->getFileMtime($fullPath); - } return filemtime($fullPath); } |