1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-08 01:36:57 +02:00

[ticket/15253] Move storage helper to filesystem

PHPBB3-15253
This commit is contained in:
Rubén Calvo
2017-06-27 10:27:32 +02:00
parent 8dbbf74550
commit 603a8c51da
24 changed files with 43 additions and 607 deletions

View File

@@ -162,7 +162,7 @@ class filesystem implements filesystem_interface
*/
public function clean_path($path)
{
return \phpbb\storage\helper::clean_path($path);
return \phpbb\filesystem\helper::clean_path($path);
}
/**
@@ -208,7 +208,7 @@ class filesystem implements filesystem_interface
*/
public function is_absolute_path($path)
{
return \phpbb\storage\helper::is_absolute_path($path);
return \phpbb\filesystem\helper::is_absolute_path($path);
}
/**
@@ -286,7 +286,7 @@ class filesystem implements filesystem_interface
*/
public function make_path_relative($end_path, $start_path)
{
return \phpbb\storage\helper::make_path_relative($end_path, $start_path);
return \phpbb\filesystem\helper::make_path_relative($end_path, $start_path);
}
/**
@@ -759,6 +759,6 @@ class filesystem implements filesystem_interface
*/
protected function resolve_path($path, $prefix = '', $absolute = false, $return_array = false)
{
return \phpbb\storage\helper::resolve_path($path, $prefix, $absolute, $return_array);
return \phpbb\filesystem\helper::resolve_path($path, $prefix, $absolute, $return_array);
}
}