Merge branch 'MDL-39923_master' of https://github.com/totara/openbadges

Conflicts:
	version.php
This commit is contained in:
Damyon Wiese 2013-11-11 10:17:07 +08:00
commit d5c0f0453c
8 changed files with 68 additions and 32 deletions

View file

@ -78,6 +78,21 @@ $messageproviders = array (
// Course request rejection notification
'courserequestrejected' => array (
'capability' => 'moodle/course:request'
)
),
// Badge award notification to a badge recipient.
'badgerecipientnotice' => array (
'defaults' => array(
'popup' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_LOGGEDIN + MESSAGE_DEFAULT_LOGGEDOFF,
'email' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_LOGGEDOFF,
),
'capability' => 'moodle/badges:earnbadge'
),
// Badge award notification to a badge creator (mostly cron-based).
'badgecreatornotice' => array (
'defaults' => array(
'email' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_LOGGEDOFF,
)
)
);