Skip to content
Snippets Groups Projects
Unverified Commit 9b01e91d authored by nomisge's avatar nomisge Committed by GitHub
Browse files

Remove deprecated constant in moodle 4.5

Update messages.php
Replace deprecated MESSAGE_DEFAULT_LOGGEDIN + MESSAGE_DEFAULT_LOGGEDOFF with MESSAGE_DEFAULT_ENABLED
parent ef34c0ee
Branches
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ $messageproviders = array (
'newquestion' => array (
'capability' => 'mod/pdfannotator:recievenewquestionnotifications', // All capabilities.
'defaults' => array(
'popup' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_LOGGEDIN + MESSAGE_DEFAULT_LOGGEDOFF,
'popup' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_ENABLED,
'email' => MESSAGE_PERMITTED,
),
),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment