From 65d8d4d6d36c5636c6e8bd4b034215bc97d12100 Mon Sep 17 00:00:00 2001 From: rubencm Date: Wed, 24 Mar 2021 15:51:25 +0100 Subject: [PATCH] [ticket/16639] Remove patch for symfony 5 PHPBB3-16639 --- phpBB/phpbb/filesystem/helper.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/phpBB/phpbb/filesystem/helper.php b/phpBB/phpbb/filesystem/helper.php index e5b898f407..aaa4da1b94 100644 --- a/phpBB/phpbb/filesystem/helper.php +++ b/phpBB/phpbb/filesystem/helper.php @@ -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); }