diff --git a/db/messages.php b/db/messages.php index 7f888dad53f479ea759addff0bd4ed7aa24d49b2..ee765707e48cdd65b2df6151edec224b5bdac616 100644 --- a/db/messages.php +++ b/db/messages.php @@ -29,7 +29,11 @@ defined('MOODLE_INTERNAL') || die(); $messageproviders = array ( 'newquestion' => array ( - 'capability' => 'mod/pdfannotator:recievenewquestionnotifications' // All capabilities. + 'capability' => 'mod/pdfannotator:recievenewquestionnotifications', // All capabilities. + 'defaults' => array( + 'popup' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_LOGGEDIN + MESSAGE_DEFAULT_LOGGEDOFF, + 'email' => MESSAGE_PERMITTED, + ), ), // Concerns answers to questions the student subscribed to.