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 committed Oct 26, 2023
1 parent 2bfad61 commit b197517
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 b197517

Please sign in to comment.