1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-12 20:56:40 +02:00

[ticket/15699] Move line

PHPBB3-15699
This commit is contained in:
Rubén Calvo
2018-07-02 03:34:14 +02:00
committed by Ruben Calvo
parent fd2e4592c3
commit 5e8bc99697

View File

@ -177,10 +177,10 @@ class acp_storage
fclose($stream);
}
$this->db->sql_rowseek(0, $result);
if ($this->request->variable('remove_old', false))
{
$this->db->sql_rowseek(0, $result);
while ($row = $this->db->sql_fetchrow($result))
{
$current_adapter->delete($row['file_path']);