diff options
author | Gina Haeussge <osd@foosel.net> | 2008-10-11 19:54:30 +0200 |
---|---|---|
committer | Gina Haeussge <osd@foosel.net> | 2008-10-11 19:54:30 +0200 |
commit | b32df754fa89245bb5db52248da4b8d1453df7f5 (patch) | |
tree | 2783d924f91b72c08fba626d23efc7d7666d8da3 /lib | |
parent | d27d0a5a115a1dc6f1c9a8048f16b1ad494abf5e (diff) | |
download | rpg-b32df754fa89245bb5db52248da4b8d1453df7f5.tar.gz rpg-b32df754fa89245bb5db52248da4b8d1453df7f5.tar.bz2 |
Change of bugfix for FS#1426
darcs-hash:20081011175430-2b4f5-aa7e9048461324e0362852ef21beff456a03bd9b.gz
Diffstat (limited to 'lib')
-rw-r--r-- | lib/plugins/config/settings/extra.class.php | 2 |
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; |