mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/16639] Remove patch for symfony 5
PHPBB3-16639
This commit is contained in:
parent
a87f534268
commit
65d8d4d6d3
1 changed files with 0 additions and 12 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue