mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 05:25:08 +02:00
MDL-70083 message: New message provider "coursecontentupdated"
This commit is contained in:
parent
8af7bec81e
commit
714b482cba
@ -1255,6 +1255,7 @@ $string['messageprovider:badgerecipientnotice'] = 'Badge recipient notifications
|
||||
$string['messageprovider:competencyplancomment'] = 'Comment posted on a learning plan';
|
||||
$string['messageprovider:competencyusercompcomment'] = 'Comment posted on a competency';
|
||||
$string['messageprovider:coursecompleted'] = 'Course completed';
|
||||
$string['messageprovider:coursecontentupdated'] = 'Course content changes';
|
||||
$string['messageprovider:courserequestapproved'] = 'Course creation request approval notification';
|
||||
$string['messageprovider:courserequested'] = 'Course creation request notification';
|
||||
$string['messageprovider:courserequestrejected'] = 'Course creation request rejection notification';
|
||||
|
@ -89,6 +89,15 @@ $messageproviders = array (
|
||||
// Course completed. Requires course completion configured at course level. It does not work with just activity progress.
|
||||
'coursecompleted' => [],
|
||||
|
||||
// Course content updated. New content (activities or resources) has been created or existing content updated.
|
||||
'coursecontentupdated' => array (
|
||||
'defaults' => array(
|
||||
'popup' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_LOGGEDIN + MESSAGE_DEFAULT_LOGGEDOFF,
|
||||
'email' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_LOGGEDOFF,
|
||||
'airnotifier' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_LOGGEDIN + MESSAGE_DEFAULT_LOGGEDOFF,
|
||||
),
|
||||
),
|
||||
|
||||
// Badge award notification to a badge recipient.
|
||||
'badgerecipientnotice' => array (
|
||||
'defaults' => array(
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2021110200.00; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
$version = 2021110200.01; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
// RR = release increments - 00 in DEV branches.
|
||||
// .XX = incremental changes.
|
||||
$release = '4.0dev+ (Build: 20211102)'; // Human-friendly version name
|
||||
|
Loading…
x
Reference in New Issue
Block a user