admin/webservices MDL-12886 Fixed a hard-coded string

This commit is contained in:
Martin Dougiamas
2010-02-02 02:45:32 +00:00
parent 3d5a7b60da
commit ce8f4155fa
+2 -2
View File
@@ -6334,7 +6334,7 @@ class admin_setting_webservicesoverview extends admin_setting {
/// 1. Enable Web Services
$row = array();
$url = new moodle_url("/admin/search.php?query=Enable+web+services");
$url = new moodle_url("/admin/search.php?query=enablewebservices");
$row[0] = "1. "."<a href=".$url.">".get_string('enablews', 'webservice')."</a>";
$status = '<span class="statuscritical">'.get_string('no').'</span>'; //should never happens as this page should only be seen once web service are activated
if ($CFG->enablewebservices) {
@@ -6776,4 +6776,4 @@ class admin_setting_managewebservicetokens extends admin_setting {
return highlight($query, $return);
}
}
}