From 966637264467ad10c31f0a72e548514d8f11bc9e Mon Sep 17 00:00:00 2001 From: Shamim Rezaie Date: Fri, 25 Oct 2019 05:11:56 +1100 Subject: [PATCH] MDL-66360 core_grade: New message handler for grade notifications --- lang/en/moodle.php | 1 + lib/db/messages.php | 3 +++ 2 files changed, 4 insertions(+) diff --git a/lang/en/moodle.php b/lang/en/moodle.php index d3e80a7dfed21..2b7061fe3e44e 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -1213,6 +1213,7 @@ $string['messageprovider:courserequestrejected'] = 'Course creation request rejection notification'; $string['messageprovider:errors'] = 'Important errors with the site'; $string['messageprovider:errors_help'] = 'These are important errors that an administrator should know about.'; +$string['messageprovider:gradenotifications'] = 'Grade notifications'; $string['messageprovider:messagecontactrequests'] = 'Message contact requests notification'; $string['messageprovider:notices'] = 'Notices about minor problems'; $string['messageprovider:notices_help'] = 'These are notices that an administrator might be interested in seeing.'; diff --git a/lib/db/messages.php b/lib/db/messages.php index 3ae3810c3d487..ea2b011291ffe 100644 --- a/lib/db/messages.php +++ b/lib/db/messages.php @@ -135,4 +135,7 @@ 'email' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_LOGGEDOFF, ) ), + + 'gradenotifications' => [ + ], );