MDL-14128, remove all uses of error(get_string())
This commit is contained in:
@@ -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??
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user