Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29218f3
)
MDL-21694 using only titles from plugins
author
Petr Skoda
<skodak@moodle.org>
Sun, 11 Apr 2010 17:57:39 +0000
(17:57 +0000)
committer
Petr Skoda
<skodak@moodle.org>
Sun, 11 Apr 2010 17:57:39 +0000
(17:57 +0000)
lib/weblib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/weblib.php
b/lib/weblib.php
index
c84d951
..
9fd5be5
100644
(file)
--- 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}");
}
/**