Resetting the timout counter to avoid the timeouts reported at http://moodle.org/mod/forum/discuss.php?d=24790#129431
This commit is contained in:
@@ -39,6 +39,7 @@ class quiz_report extends quiz_default_report {
|
||||
foreach ($questions as $question) {
|
||||
echo '<b>'.get_string('regradingquestion', 'quiz', $question->name).'</b> '.get_string('attempts', 'quiz').": \n";
|
||||
foreach ($attempts as $attempt) {
|
||||
set_time_limit(30);
|
||||
quiz_regrade_question_in_attempt($question, $attempt, $quiz, true);
|
||||
}
|
||||
echo '<br/ >';
|
||||
|
||||
Reference in New Issue
Block a user