Simplify :)

pull/28768/head
acsfer 3 years ago committed by GitHub
parent 8a8df49bc0
commit 98eac0fc05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save