mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 09:56:38 +02:00
Merge branch 'MDL-50806-master' of git://github.com/merrill-oakland/moodle
This commit is contained in:
commit
5fceb11e6c
1 changed files with 2 additions and 1 deletions
|
@ -289,8 +289,9 @@ class qformat_default {
|
||||||
public function importprocess($category) {
|
public function importprocess($category) {
|
||||||
global $USER, $CFG, $DB, $OUTPUT;
|
global $USER, $CFG, $DB, $OUTPUT;
|
||||||
|
|
||||||
// reset the timer in case file upload was slow
|
// Raise time and memory, as importing can be quite intensive.
|
||||||
core_php_time_limit::raise();
|
core_php_time_limit::raise();
|
||||||
|
raise_memory_limit(MEMORY_EXTRA);
|
||||||
|
|
||||||
// STAGE 1: Parse the file
|
// STAGE 1: Parse the file
|
||||||
echo $OUTPUT->notification(get_string('parsingquestions', 'question'), 'notifysuccess');
|
echo $OUTPUT->notification(get_string('parsingquestions', 'question'), 'notifysuccess');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue