diff --git a/phpBB/phpbb/storage/storage.php b/phpBB/phpbb/storage/storage.php index 1f22090745..1bd693b6fa 100644 --- a/phpBB/phpbb/storage/storage.php +++ b/phpBB/phpbb/storage/storage.php @@ -317,6 +317,9 @@ class storage if (!$row) { + // Don't call the method, because it check's if the file is tracked + // and is not (for now). This method check if the file exists using the adapter + // at the beginning. $file = new file_info($this->get_adapter(), $path); $sql_ary['filesize'] = $file->size;