From b197517c6622ee0d4b3a4b7b16bdb65e39d35aeb Mon Sep 17 00:00:00 2001 From: Jonathan Champ Date: Thu, 26 Oct 2023 11:21:53 -0400 Subject: [PATCH] calendar: skip calendar permissions check Permissions have already been checked by the calling functions/tasks. --- lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.php b/lib.php index 158db32a..9a3c9a78 100755 --- a/lib.php +++ b/lib.php @@ -550,7 +550,7 @@ function zoom_calendar_item_update(stdClass $zoom) { // Any remaining events in the array don't exist on Moodle, so create a new event. foreach ($newevents as $uuid => $newevent) { - calendar_event::create($newevent); + calendar_event::create($newevent, false); } }