aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-03-14 11:08:25 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-03-14 11:08:25 +0100
commit973f5aa8c5ef1830bc6803a0ad6c5054a762183b (patch)
treed112785743ec7ac42bfacf486756280cec9822b1 /phpBB/phpbb
parent59af5f4cbfdd19ef369308b35cf80c0f79cd73f9 (diff)
downloadforums-973f5aa8c5ef1830bc6803a0ad6c5054a762183b.tar
forums-973f5aa8c5ef1830bc6803a0ad6c5054a762183b.tar.gz
forums-973f5aa8c5ef1830bc6803a0ad6c5054a762183b.tar.bz2
forums-973f5aa8c5ef1830bc6803a0ad6c5054a762183b.tar.xz
forums-973f5aa8c5ef1830bc6803a0ad6c5054a762183b.zip
[ticket/12268] Move class out of extension namespace and rename it
PHPBB3-12268
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/extension/finder.php2
-rw-r--r--phpBB/phpbb/recursive_filter_iterator.php (renamed from phpBB/phpbb/extension/recursive_filter_iterator.php)8
2 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/phpbb/extension/finder.php b/phpBB/phpbb/extension/finder.php
index 4fb46c6ffd..6cc6e1808a 100644
--- a/phpBB/phpbb/extension/finder.php
+++ b/phpBB/phpbb/extension/finder.php
@@ -476,7 +476,7 @@ class finder
$directory_pattern = '#' . $directory_pattern . '#';
$iterator = new \RecursiveIteratorIterator(
- new \phpbb\extension\recursive_filter_iterator(
+ new \phpbb\recursive_dot_prefix_filter_iterator(
new \RecursiveDirectoryIterator(
$path,
\FilesystemIterator::SKIP_DOTS
diff --git a/phpBB/phpbb/extension/recursive_filter_iterator.php b/phpBB/phpbb/recursive_filter_iterator.php
index e776942197..28e1067d11 100644
--- a/phpBB/phpbb/extension/recursive_filter_iterator.php
+++ b/phpBB/phpbb/recursive_filter_iterator.php
@@ -7,18 +7,18 @@
*
*/
-namespace phpbb\extension;
+namespace phpbb;
/**
-* Class recursive_filter_iterator
+* Class recursive_dot_prefix_filter_iterator
*
* This filter ignores directories starting with a dot.
* When searching for php classes and template files of extensions
* we don't need to look inside these directories.
*
-* @package phpbb\extension
+* @package phpbb
*/
-class recursive_filter_iterator extends \RecursiveFilterIterator
+class recursive_dot_prefix_filter_iterator extends \RecursiveFilterIterator
{
public function accept()
{