summaryrefslogtreecommitdiff
path: root/lib/plugins/config/settings/extra.class.php
diff options
context:
space:
mode:
authorGina Haeussge <osd@foosel.net>2008-10-11 19:54:30 +0200
committerGina Haeussge <osd@foosel.net>2008-10-11 19:54:30 +0200
commitb32df754fa89245bb5db52248da4b8d1453df7f5 (patch)
tree2783d924f91b72c08fba626d23efc7d7666d8da3 /lib/plugins/config/settings/extra.class.php
parentd27d0a5a115a1dc6f1c9a8048f16b1ad494abf5e (diff)
downloadrpg-b32df754fa89245bb5db52248da4b8d1453df7f5.tar.gz
rpg-b32df754fa89245bb5db52248da4b8d1453df7f5.tar.bz2
Change of bugfix for FS#1426
darcs-hash:20081011175430-2b4f5-aa7e9048461324e0362852ef21beff456a03bd9b.gz
Diffstat (limited to 'lib/plugins/config/settings/extra.class.php')
-rw-r--r--lib/plugins/config/settings/extra.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/config/settings/extra.class.php b/lib/plugins/config/settings/extra.class.php
index c731d8cfc..40c919a12 100644
--- a/lib/plugins/config/settings/extra.class.php
+++ b/lib/plugins/config/settings/extra.class.php
@@ -47,7 +47,7 @@ if (!class_exists('setting_authtype')) {
// populate $this->_choices with a list of available auth mechanisms
$authtypes = glob(DOKU_INC.'inc/auth/*.class.php');
$authtypes = preg_replace('#^.*/([^/]*)\.class\.php$#i','$1', $authtypes);
- unset($authtypes[array_search('basic', $authtypes)]);
+ $authtypes = array_diff($authtypes, array('basic'));
sort($authtypes);
$this->_choices = $authtypes;