Skip to content

Commit 9b01e91

Browse files
authored
Remove deprecated constant in moodle 4.5
Update messages.php Replace deprecated MESSAGE_DEFAULT_LOGGEDIN + MESSAGE_DEFAULT_LOGGEDOFF with MESSAGE_DEFAULT_ENABLED
1 parent ef34c0e commit 9b01e91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/messages.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
'newquestion' => array (
3232
'capability' => 'mod/pdfannotator:recievenewquestionnotifications', // All capabilities.
3333
'defaults' => array(
34-
'popup' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_LOGGEDIN + MESSAGE_DEFAULT_LOGGEDOFF,
34+
'popup' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_ENABLED,
3535
'email' => MESSAGE_PERMITTED,
3636
),
3737
),

0 commit comments

Comments
 (0)