mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
plugins: MDL-19921 external database auth was not showing up.
This was a regression from MDL-16438
This commit is contained in:
parent
d8aada61dc
commit
2427f3fe6b
@ -6786,6 +6786,13 @@ function get_plugin_list($plugintype, $fullpaths=true) {
|
||||
global $CFG;
|
||||
|
||||
$ignored = array('CVS', '_vti_cnf', 'simpletest', 'db');
|
||||
if ($plugintype == 'auth') {
|
||||
// Historically we have had an auth plugin called 'db', so allow a special case.
|
||||
$key = array_search('db', $ignored);
|
||||
if ($key !== false) {
|
||||
unset($ignored[$key]);
|
||||
}
|
||||
}
|
||||
|
||||
if ($plugintype === '') {
|
||||
$plugintype = 'mod';
|
||||
|
Loading…
x
Reference in New Issue
Block a user