[ticket/11362] Use container when available instead of creating a new instance

PHPBB3-11362
This commit is contained in:
Joas Schilling 2013-04-22 00:49:41 +02:00
parent ccd4a725da
commit 16e70fa086

View file

@ -1062,7 +1062,7 @@ function phpbb_clean_path($path)
if ($phpbb_container)
{
$phpbb_filesystem = new phpbb_filesystem();
$phpbb_filesystem = $phpbb_container->get('filesystem');
}
else
{