[ticket/16639] Remove patch for symfony 5

PHPBB3-16639
This commit is contained in:
rubencm 2021-03-24 15:51:25 +01:00
parent a87f534268
commit 65d8d4d6d3

View file

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