From 252bb7704c7b05860b50c27df97f6b46b3b0ef2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Calvo?= Date: Mon, 20 Aug 2018 23:58:24 +0200 Subject: [PATCH] [ticket/15692] Add comment PHPBB3-15692 --- phpBB/phpbb/storage/storage.php | 3 +++ 1 file changed, 3 insertions(+) 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;