Skip to content

Commit

Permalink
Simplify :)
Browse files Browse the repository at this point in the history
  • Loading branch information
solracsf authored and backportbot[bot] committed Oct 18, 2021
1 parent bb72d2e commit ae02e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Files/Storage/Local.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public function filetype($path) {
}

public function filesize($path) {
if ($this->is_dir($path) || !$this->is_file($path)) {
if (!$this->is_file($path)) {
return 0;
}
$fullPath = $this->getSourcePath($path);
Expand Down

0 comments on commit ae02e97

Please sign in to comment.