MDL-14128, remove all uses of error(get_string())

This commit is contained in:
dongsheng
2008-04-02 06:09:56 +00:00
parent 003f4c662a
commit dbb82a47ca
83 changed files with 189 additions and 185 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ if ($id && !$categoryadd && !$categoryupdate && false) {
} else {
if (!$category->visible) {
error(get_string('notavailable', 'error'));
print_error('notavailable', 'error');
}
$navbaritem = print_course_search("", true, "navbar");
$adminediting = false;