From 9c496b544943edda014ee53456d9475b0e908103 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sun, 11 Apr 2010 17:57:39 +0000 Subject: [PATCH] MDL-21694 using only titles from plugins --- lib/weblib.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index c84d951189a..9fd5be5a489 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -3437,11 +3437,7 @@ class html_list_progress_trace extends progress_trace { * @return string */ function auth_get_plugin_title($authtype) { - $authtitle = get_string("auth_{$authtype}title", "auth"); - if ($authtitle == "[[auth_{$authtype}title]]") { - $authtitle = get_string("auth_{$authtype}title", "auth_{$authtype}"); - } - return $authtitle; + $authtitle = get_string("auth_{$authtype}title", "auth_{$authtype}"); } /** -- 2.43.0