Skip to content

Commit

Permalink
calendar: skip calendar permissions check
Browse files Browse the repository at this point in the history
Permissions have already been checked by the calling functions/tasks.
  • Loading branch information
jrchamp authored Oct 26, 2023
1 parent c7dba43 commit a51e189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit a51e189

Please sign in to comment.