MDL-22061 removing unnecessary [[ tests

This commit is contained in:
Petr Skoda
2010-04-11 20:50:37 +00:00
parent 3518913cc8
commit 37f005b142
2 changed files with 1 additions and 6 deletions
+1 -4
View File
@@ -423,10 +423,7 @@ class auth_plugin_base {
* @return string The description
*/
function get_description() {
$authdescription = get_string("auth_{$this->authtype}description", "auth");
if ($authdescription == "[[auth_{$this->authtype}description]]") {
$authdescription = get_string("auth_{$this->authtype}description", "auth_{$this->authtype}");
}
$authdescription = get_string("auth_{$this->authtype}description", "auth_{$this->authtype}");
return $authdescription;
}