mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
[ticket/17141] Symfony request can never be null so don't check for it
PHPBB3-17141
This commit is contained in:
parent
8223a956df
commit
55ea8d6030
1 changed files with 0 additions and 5 deletions
|
@ -151,11 +151,6 @@ class path_helper
|
||||||
*/
|
*/
|
||||||
public function get_web_root_path()
|
public function get_web_root_path()
|
||||||
{
|
{
|
||||||
if ($this->symfony_request === null)
|
|
||||||
{
|
|
||||||
return $this->phpbb_root_path;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (null !== $this->web_root_path)
|
if (null !== $this->web_root_path)
|
||||||
{
|
{
|
||||||
return $this->web_root_path;
|
return $this->web_root_path;
|
||||||
|
|
Loading…
Add table
Reference in a new issue