Skip to content

Commit d8ff7ea

Browse files
solracsfskjnldsv
authored andcommitted
Simplify :)
1 parent d845791 commit d8ff7ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/Files/Storage/Local.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public function filetype($path) {
217217
}
218218

219219
public function filesize($path) {
220-
if ($this->is_dir($path) || !$this->is_file($path)) {
220+
if (!$this->is_file($path)) {
221221
return 0;
222222
}
223223
$fullPath = $this->getSourcePath($path);

0 commit comments

Comments
 (0)