Merge branch 'MDL-54787_master' of https://github.com/snake/moodle

This commit is contained in:
Andrew Nicols
2016-06-16 09:04:07 +01:00
committed by Dan Poltawski
+5 -1
View File
@@ -302,7 +302,11 @@ class quiz_overview_report extends quiz_attempts_report {
* @uses exit. This method never returns.
*/
protected function finish_regrade($nexturl) {
redirect($nexturl, get_string('regradecomplete', 'quiz_overview'), null, \core\output\notification::NOTIFY_SUCCESS);
global $OUTPUT;
\core\notification::success(get_string('regradecomplete', 'quiz_overview'));
echo $OUTPUT->continue_button($nexturl);
echo $OUTPUT->footer();
die();
}
/**