Merge branch 'MDL-33884_37' of https://github.com/timhunt/moodle into MOODLE_37_STABLE

This commit is contained in:
Andrew Nicols
2019-08-05 14:33:55 +08:00
+4
View File
@@ -860,6 +860,10 @@ class qformat_default {
public function exportprocess($checkcapabilities = true) {
global $CFG, $DB;
// Raise time and memory, as exporting can be quite intensive.
core_php_time_limit::raise();
raise_memory_limit(MEMORY_EXTRA);
// Get the parents (from database) for this category.
$parents = [];
if ($this->category) {