Skip to content

Commit dbfeb1c

Browse files
authored
Update messages.php resolves h5p#562
Resolves 4.5 compatibility - install failure h5p#562 Replaced MESSAGE_DEFAULT_LOGGEDIN + MESSAGE_DEFAULT_LOGGEDOFF to MESSAGE_DEFAULT_ENABLED as per Moodle plugin upgrade documentation: https://github.com/moodle/moodle/blob/13c12756b4d7e85f2d2e34038216179fd287c9c2/lib/upgrade.txt#L716 Thanks @otacke and @lkcivan
1 parent 4b692cc commit dbfeb1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/messages.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
'confirmation' => array(
3535
'capability' => 'mod/hvp:emailconfirmsubmission',
3636
'defaults' => array(
37-
'airnotifier' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_LOGGEDIN + MESSAGE_DEFAULT_LOGGEDOFF,
37+
'airnotifier' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_ENABLED,
3838
),
3939
),
4040
);

0 commit comments

Comments
 (0)