mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
Simplify :)
This commit is contained in:
parent
8a8df49bc0
commit
98eac0fc05
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue