From 08e71c5fd6236c68c78153bbeac3f7c5efaceb74 Mon Sep 17 00:00:00 2001 From: Frederik Milling Pytlick Date: Mon, 3 Oct 2022 12:09:10 +0200 Subject: [PATCH] MDL-75876 core_calendar: Add raise_memory_limit call to export_execute Added a call to raise_memory_limit in /calendar/export_execute.php as it can be very memory intensive. --- calendar/export_execute.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/calendar/export_execute.php b/calendar/export_execute.php index 03f928191e2..ae922da5c2b 100644 --- a/calendar/export_execute.php +++ b/calendar/export_execute.php @@ -5,6 +5,8 @@ require_once('../config.php'); require_once($CFG->dirroot.'/calendar/lib.php'); require_once($CFG->libdir.'/bennu/bennu.inc.php'); +raise_memory_limit(MEMORY_HUGE); + $userid = optional_param('userid', 0, PARAM_INT); $username = optional_param('username', '', PARAM_TEXT); $authtoken = required_param('authtoken', PARAM_ALPHANUM);