[ticket/15692] Add comment

PHPBB3-15692
This commit is contained in:
Rubén Calvo 2018-08-20 23:58:24 +02:00
parent 0c1bf3c561
commit 252bb7704c

View file

@ -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;