Skip to content

Fix notification user fields for Moodle 5.2, declare 5.2 support#160

Open
ramhee98 wants to merge 1 commit into
elearningsoftware:masterfrom
ramhee98:master
Open

Fix notification user fields for Moodle 5.2, declare 5.2 support#160
ramhee98 wants to merge 1 commit into
elearningsoftware:masterfrom
ramhee98:master

Conversation

@ramhee98

Copy link
Copy Markdown
  • event_observer: fetch auth, suspended, deleted, emailstop (required by message_send()) plus username, mailformat, maildisplay, mnethostid for teacher notifications, avoiding a debugging notice and an extra DB fetch per recipient on every entry save.
  • cron_task: add username to the fetched user fields; email_to_user() reads it since Moodle 5.0 and logged a PHP warning per sent email.
  • Declare supported range Moodle 4.0 - 5.2 and bump to 5.1.4.
  • CI: test against MOODLE_502_STABLE (PHP 8.3/8.4), postgres 16.

- event_observer: fetch auth, suspended, deleted, emailstop (required by
  message_send()) plus username, mailformat, maildisplay, mnethostid for
  teacher notifications, avoiding a debugging notice and an extra DB
  fetch per recipient on every entry save.
- cron_task: add username to the fetched user fields; email_to_user()
  reads it since Moodle 5.0 and logged a PHP warning per sent email.
- Declare supported range Moodle 4.0 - 5.2 and bump to 5.1.4.
- CI: test against MOODLE_502_STABLE (PHP 8.3/8.4), postgres 16.
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.

1 participant