From 55ea8d603021546d19595250ba614a8013b19966 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Mon, 26 Jun 2023 23:14:58 +0200 Subject: [PATCH] [ticket/17141] Symfony request can never be null so don't check for it PHPBB3-17141 --- phpBB/phpbb/path_helper.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/phpBB/phpbb/path_helper.php b/phpBB/phpbb/path_helper.php index 281c12b375..92635c95d0 100644 --- a/phpBB/phpbb/path_helper.php +++ b/phpBB/phpbb/path_helper.php @@ -151,11 +151,6 @@ class path_helper */ public function get_web_root_path() { - if ($this->symfony_request === null) - { - return $this->phpbb_root_path; - } - if (null !== $this->web_root_path) { return $this->web_root_path;