mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-50806 questions: Allow more memory when doing a question import
This commit is contained in:
parent
e5eefbbf01
commit
cef7621e30
@ -289,8 +289,9 @@ class qformat_default {
|
||||
public function importprocess($category) {
|
||||
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();
|
||||
raise_memory_limit(MEMORY_EXTRA);
|
||||
|
||||
// STAGE 1: Parse the file
|
||||
echo $OUTPUT->notification(get_string('parsingquestions', 'question'), 'notifysuccess');
|
||||
|
Loading…
x
Reference in New Issue
Block a user