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

Fix logic for enable notify nonsubmitters #781

Merged
merged 1 commit into from
Nov 19, 2024
Merged

Conversation

jack-tii
Copy link
Contributor

Our logic that checks for ability to notify nonsubmitters appears to have broken flow control, in versions past 4.0 it never returns false.
At this point we can also drop support for Moodle versions less than 4.0 so can cleanup some unused code there.

Copy link
Contributor

@TurnitinPaulina TurnitinPaulina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, looks like we just check whether it is enabled in 2 different ways (small nitpick - should we put the ticket numbers in commit messages/branch names?)

@jack-tii jack-tii merged commit 8d80662 into develop Nov 19, 2024
3 checks passed
@jack-tii jack-tii deleted the notify-nonsubmitters branch November 19, 2024 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants