From 1adcbccc09dfb890a39939202b4e520a2458407a Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Tue, 17 Sep 2013 18:56:47 +0200 Subject: [PATCH] [ticket/11700] Replace some leftover phpbb_filesystem uses PHPBB3-11700 --- phpBB/includes/functions.php | 2 +- phpBB/phpbb/template/twig/environment.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 7bdd4d252e..e905375f4a 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2425,7 +2425,7 @@ function append_sid($url, $params = false, $is_amp = true, $session_id = false) } // Update the root path with the correct relative web path - if ($phpbb_filesystem instanceof phpbb_filesystem) + if ($phpbb_filesystem instanceof \phpbb\filesystem) { $url = $phpbb_filesystem->update_web_root_path($url); } diff --git a/phpBB/phpbb/template/twig/environment.php b/phpBB/phpbb/template/twig/environment.php index 132dae4762..e0ee23dcd9 100644 --- a/phpBB/phpbb/template/twig/environment.php +++ b/phpBB/phpbb/template/twig/environment.php @@ -25,7 +25,7 @@ class environment extends \Twig_Environment /** @var \phpbb\config\config */ protected $phpbb_config; - /** @var phpbb_filesystem */ + /** @var \phpbb\filesystem */ protected $phpbb_filesystem; /** @var string */ @@ -104,7 +104,7 @@ class environment extends \Twig_Environment /** * Get the phpbb_filesystem object * - * @return phpbb_filesystem + * @return \phpbb\filesystem */ public function get_filesystem() {