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

[#11] Only delete programs events in cron task #12

Open
wants to merge 1 commit into
base: MOODLE_401_STABLE
Choose a base branch
from

Conversation

matthewhilton
Copy link

Closes #11

  • Added an extra condition to the SQL such that regardless of anything else, it will only ever match events that are from programs.
  • Added a unit test that tests manual events are not touched by programs.

@matthewhilton matthewhilton marked this pull request as draft April 15, 2024 23:20
@matthewhilton matthewhilton marked this pull request as ready for review April 15, 2024 23:29
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

Successfully merging this pull request may close these issues.

If no programs defined, all calendar events are deleted by \enrol_programs\task\cron
1 participant