diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-05-06 17:50:46 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-06-10 11:47:39 +0200 |
commit | d45c681b40cf0415ce49b2cd7f3f1083e84b367c (patch) | |
tree | ce42a1665c9ffa1c519964ad0df9bf6d502c1afa /phpBB/includes | |
parent | c20653dfbe552b53fa3281ff8f2a9214fc8a26a9 (diff) | |
download | forums-d45c681b40cf0415ce49b2cd7f3f1083e84b367c.tar forums-d45c681b40cf0415ce49b2cd7f3f1083e84b367c.tar.gz forums-d45c681b40cf0415ce49b2cd7f3f1083e84b367c.tar.bz2 forums-d45c681b40cf0415ce49b2cd7f3f1083e84b367c.tar.xz forums-d45c681b40cf0415ce49b2cd7f3f1083e84b367c.zip |
[ticket/12508] Fix usages of the finder
PHPBB3-12508
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/acp/acp_modules.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_modules.php b/phpBB/includes/acp/acp_modules.php index 61bae18557..5932f4cddd 100644 --- a/phpBB/includes/acp/acp_modules.php +++ b/phpBB/includes/acp/acp_modules.php @@ -561,14 +561,14 @@ class acp_modules $directory = $phpbb_root_path . 'includes/' . $module_class . '/info/'; $fileinfo = array(); - $finder = $phpbb_extension_manager->get_finder(); + $finder = $phpbb_extension_manager->get_finder($use_all_available); $modules = $finder ->extension_suffix('_module') ->extension_directory("/$module_class") ->core_path("includes/$module_class/info/") ->core_prefix($module_class . '_') - ->get_classes(true, $use_all_available); + ->get_classes(true); foreach ($modules as $cur_module) { |