Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

calendar_event_created is not triggered when Face-to-face events are created #193

Open
golenkovm opened this issue Jan 9, 2025 · 0 comments

Comments

@golenkovm
Copy link

I was doing some testing with Face-toface events and found that event records are being inserted directly into mdl_event table rather than through core API calendar_event::create() which logs \core\event\calendar_event_created.

As far as I can see it's in the facetoface_add_session_to_calendar() function which calls $DB->insert_record('event', $newevent); here

$result = $result && $DB->insert_record('event', $newevent);

@golenkovm golenkovm changed the title calendar_event_created is not triggered when Face-toface events are created calendar_event_created is not triggered when Face-to-face events are created Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant