mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/16639] Remove patch for symfony 5
PHPBB3-16639
This commit is contained in:
@@ -212,18 +212,6 @@ class helper
|
||||
*/
|
||||
static public function make_path_relative($end_path, $start_path)
|
||||
{
|
||||
// Ensure paths are absolute as passing relative paths to the
|
||||
// Symsony's Filesystem::makePathRelative() method is removed since Symfony 4.0
|
||||
if (!self::is_absolute_path($end_path))
|
||||
{
|
||||
$end_path = self::phpbb_own_realpath($end_path);
|
||||
}
|
||||
|
||||
if (!self::is_absolute_path($start_path))
|
||||
{
|
||||
$start_path = self::phpbb_own_realpath($start_path);
|
||||
}
|
||||
|
||||
return self::get_symfony_filesystem()->makePathRelative($end_path, $start_path);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user