summaryrefslogtreecommitdiffstats
path: root/lib/private/Files
diff options
context:
space:
mode:
authorszaimen <szaimen@e.mail.de>2022-11-01 14:03:48 +0100
committerszaimen <szaimen@e.mail.de>2022-11-02 11:13:34 +0100
commitdd8774389e21b59c07882580356d51de018fe867 (patch)
tree8abfe35c70004ca0d6e4df70098cf63cb087e6ec /lib/private/Files
parent075a87670d4157086974d84972553914078c203b (diff)
downloadnextcloud-server-dd8774389e21b59c07882580356d51de018fe867.tar.gz
nextcloud-server-dd8774389e21b59c07882580356d51de018fe867.zip
remove 32-bit workarounds
Signed-off-by: szaimen <szaimen@e.mail.de>
Diffstat (limited to 'lib/private/Files')
-rw-r--r--lib/private/Files/Storage/Local.php13
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);
}