[ticket/17141] Symfony request can never be null so don't check for it

PHPBB3-17141
This commit is contained in:
Marc Alexander 2023-06-26 23:14:58 +02:00
parent 8223a956df
commit 55ea8d6030
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -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;