Skip to content
Snippets Groups Projects
Commit 6bf5cd2f authored by Andreas Gohr's avatar Andreas Gohr
Browse files

remove support for loading old auth backend configs #1535

parent d0c0a5c4
No related branches found
No related tags found
No related merge requests found
......@@ -435,23 +435,4 @@ class DokuWiki_Auth_Plugin extends DokuWiki_Plugin {
global $conf;
return ($_SESSION[DOKU_COOKIE]['auth']['time'] >= @filemtime($conf['cachedir'].'/sessionpurge'));
}
/**
* Overrides the standard config loading to integrate old auth module style configs
*
* @deprecated 2012-11-09
*/
public function loadConfig() {
global $conf;
$plugin = $this->getPluginName();
$oldname = preg_replace('/^auth/', '', $plugin);
$default = $this->readDefaultSettings();
$oldconf = array();
if(isset($conf['auth'][$oldname])) $oldconf = (array) $conf['auth'][$oldname];
$conf['plugin'][$plugin] = array_merge($default, $oldconf, (array) $conf['plugin'][$plugin]);
$this->conf =& $conf['plugin'][$plugin];
$this->configloaded = true;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment