authentication MDL-18273 Custom Authentication Plugin title can be retrieved from specific language file, merged from 19
This commit is contained in:
@@ -979,7 +979,7 @@ function uu_allowed_auths() {
|
||||
$plugins = get_enabled_auth_plugins();
|
||||
$choices = array();
|
||||
foreach ($plugins as $plugin) {
|
||||
$choices[$plugin] = get_string('auth_'.$plugin.'title', 'auth');
|
||||
$choices[$plugin] = auth_get_plugin_title ($plugin);
|
||||
}
|
||||
|
||||
return $choices;
|
||||
|
||||
Reference in New Issue
Block a user