diff options
| author | Nils Adermann <naderman@naderman.de> | 2011-11-18 16:42:53 +0100 |
|---|---|---|
| committer | Nils Adermann <naderman@naderman.de> | 2011-11-18 16:44:42 +0100 |
| commit | 0d296785b2364f894f34171d054341cc4979223f (patch) | |
| tree | b5ae025f4d24c61a34602f7bf9facffca952bfe9 /phpBB/includes/captcha | |
| parent | d8e5783e8c341e38a0b8d572c8482b264cacb9c0 (diff) | |
| download | forums-0d296785b2364f894f34171d054341cc4979223f.tar forums-0d296785b2364f894f34171d054341cc4979223f.tar.gz forums-0d296785b2364f894f34171d054341cc4979223f.tar.bz2 forums-0d296785b2364f894f34171d054341cc4979223f.tar.xz forums-0d296785b2364f894f34171d054341cc4979223f.zip | |
[feature/extension-manager] Rename default methods to core methods on finder.
There are now extension_ and core_ methods for all finder settings as well as
a generic method which overwrites both.
PHPBB3-10323
Diffstat (limited to 'phpBB/includes/captcha')
| -rw-r--r-- | phpBB/includes/captcha/captcha_factory.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/includes/captcha/captcha_factory.php b/phpBB/includes/captcha/captcha_factory.php index 2779a23d34..e039e92054 100644 --- a/phpBB/includes/captcha/captcha_factory.php +++ b/phpBB/includes/captcha/captcha_factory.php @@ -68,10 +68,9 @@ class phpbb_captcha_factory $finder = $phpbb_extension_manager->get_finder(); $captcha_plugin_classes = $finder - ->directory('/captcha') + ->extension_directory('/captcha') ->suffix('_plugin') - ->default_path('includes/captcha/plugins/') - ->default_directory('') + ->core_path('includes/captcha/plugins/') ->get_classes(); foreach ($captcha_plugin_classes as $class) |
