authentication MDL-18273 Custom Authentication Plugin title can be retrieved from specific language file, merged from 19

This commit is contained in:
jerome
2009-05-14 07:03:27 +00:00
parent dc247e5232
commit 2a274f2a93
6 changed files with 18 additions and 12 deletions
+1 -1
View File
@@ -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;