diff options
author | acsfer <carlos@reendex.com> | 2021-10-04 17:21:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-04 17:21:37 +0200 |
commit | 98eac0fc05dac7c694038b169cf98fd81fbccc92 (patch) | |
tree | 28bf070d4ab5b6d9340a548c4a7a81faff9d1c29 /lib | |
parent | 8a8df49bc0f7a4f540a9d642fa3518f5d0b64803 (diff) | |
download | nextcloud-server-98eac0fc05dac7c694038b169cf98fd81fbccc92.tar.gz nextcloud-server-98eac0fc05dac7c694038b169cf98fd81fbccc92.zip |
Simplify :)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Files/Storage/Local.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/Local.php b/lib/private/Files/Storage/Local.php index 72a1ad90d6e..7e56293e4cf 100644 --- a/lib/private/Files/Storage/Local.php +++ b/lib/private/Files/Storage/Local.php @@ -216,7 +216,7 @@ class Local extends \OC\Files\Storage\Common { } public function filesize($path) { - if ($this->is_dir($path) || !$this->is_file($path)) { + if (!$this->is_file($path)) { return 0; } $fullPath = $this->getSourcePath($path); |