mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/16955] Update namespace for iterators to finder
PHPBB3-16955
This commit is contained in:
parent
4d6dbfb745
commit
a366eb7f6c
7 changed files with 7 additions and 7 deletions
|
@ -220,7 +220,7 @@ class acp_language
|
|||
{
|
||||
try
|
||||
{
|
||||
$iterator = new \phpbb\iterator\recursive_path_iterator($this->phpbb_root_path . 'language/' . $this->config['default_lang'] . '/');
|
||||
$iterator = new \phpbb\finder\recursive_path_iterator($this->phpbb_root_path . 'language/' . $this->config['default_lang'] . '/');
|
||||
}
|
||||
catch (\Exception $e)
|
||||
{
|
||||
|
|
|
@ -646,7 +646,7 @@ function phpbb_email_hash($email)
|
|||
*/
|
||||
function phpbb_load_extensions_autoloaders($phpbb_root_path)
|
||||
{
|
||||
$iterator = new \phpbb\iterator\recursive_path_iterator(
|
||||
$iterator = new \phpbb\finder\recursive_path_iterator(
|
||||
$phpbb_root_path . 'ext/',
|
||||
\RecursiveIteratorIterator::SELF_FIRST,
|
||||
\FilesystemIterator::SKIP_DOTS | \FilesystemIterator::FOLLOW_SYMLINKS
|
||||
|
|
|
@ -659,7 +659,7 @@ class md_exporter
|
|||
{
|
||||
try
|
||||
{
|
||||
$iterator = new \phpbb\iterator\recursive_path_iterator(
|
||||
$iterator = new \phpbb\finder\recursive_path_iterator(
|
||||
$dir,
|
||||
\RecursiveIteratorIterator::SELF_FIRST
|
||||
);
|
||||
|
|
|
@ -380,7 +380,7 @@ class manager
|
|||
return $available;
|
||||
}
|
||||
|
||||
$iterator = new \phpbb\iterator\recursive_path_iterator(
|
||||
$iterator = new \phpbb\finder\recursive_path_iterator(
|
||||
$this->phpbb_root_path . 'ext/',
|
||||
\RecursiveIteratorIterator::SELF_FIRST,
|
||||
\FilesystemIterator::NEW_CURRENT_AND_KEY | \FilesystemIterator::FOLLOW_SYMLINKS
|
||||
|
|
|
@ -486,7 +486,7 @@ class finder
|
|||
|
||||
if (is_dir($path))
|
||||
{
|
||||
$iterator = new \phpbb\iterator\recursive_path_iterator(
|
||||
$iterator = new \phpbb\finder\recursive_path_iterator(
|
||||
$path,
|
||||
\RecursiveIteratorIterator::SELF_FIRST
|
||||
);
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
namespace phpbb\iterator;
|
||||
namespace phpbb\finder;
|
||||
|
||||
/**
|
||||
* Class recursive_dot_prefix_filter_iterator
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace phpbb\iterator;
|
||||
namespace phpbb\finder;
|
||||
|
||||
class recursive_path_iterator extends \RecursiveIteratorIterator
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue