From 07ea95609ac5d4e6450adef9980d3a43b8f81697 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sat, 18 Sep 2010 11:41:16 +0000 Subject: [PATCH] fixed time limit --- question/format.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/question/format.php b/question/format.php index 5806b04900e..494d09fc60f 100644 --- a/question/format.php +++ b/question/format.php @@ -231,7 +231,7 @@ class qformat_default { global $USER, $DB, $OUTPUT; // reset the timer in case file upload was slow - @set_time_limit(); + @set_time_limit(0); // STAGE 1: Parse the file echo $OUTPUT->notification( get_string('parsingquestions','quiz') ); @@ -300,7 +300,7 @@ class qformat_default { foreach ($questions as $question) { // Process and store each question // reset the php timeout - @set_time_limit(); + @set_time_limit(0); // check for category modifiers if ($question->qtype=='category') {