diff --git a/phpBB/phpbb/storage/storage.php b/phpBB/phpbb/storage/storage.php index deab3b708a..fab84891f9 100644 --- a/phpBB/phpbb/storage/storage.php +++ b/phpBB/phpbb/storage/storage.php @@ -305,7 +305,7 @@ class storage } catch (\Exception $e) { - $this->get_adapter()->delete($path); + $adapter->delete($path); $this->untrack_file($path); } }