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
@@ -169,6 +169,6 @@
function not_found($courseid) {
global $CFG;
header('HTTP/1.0 404 not found');
error(get_string('filenotfound', 'error'), $CFG->wwwroot.'/course/view.php?id='.$courseid); //this is not displayed on IIS??
print_error('filenotfound', 'error', $CFG->wwwroot.'/course/view.php?id='.$courseid); //this is not displayed on IIS??
}
?>