MDL-16029 removing recently added support for $extralocation from print_error(), thanks TIm for pointing out this is not the recommended way anymore

This commit is contained in:
skodak
2008-09-02 06:03:37 +00:00
parent b3276c45cf
commit 5ca18631bc
3 changed files with 19 additions and 27 deletions
+1 -1
View File
@@ -573,7 +573,7 @@ function error($message, $link='') {
throw new moodle_exception('notlocalisederrormessage', 'error', $link, $message);
}
_print_normal_error('notlocalisederrormessage', 'error', $message, $link, debug_backtrace(), null, null, true); // show debug warning
_print_normal_error('notlocalisederrormessage', 'error', $message, $link, debug_backtrace(), null, true); // show debug warning
}