Skip to content

Commit

Permalink
Remove deprecated definitions and function for 4.5 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
srobotta committed Oct 12, 2024
1 parent ef34c0e commit df99b88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion db/messages.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
'newquestion' => array (
'capability' => 'mod/pdfannotator:recievenewquestionnotifications', // All capabilities.
'defaults' => array(
'popup' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_LOGGEDIN + MESSAGE_DEFAULT_LOGGEDOFF,
'popup' => MESSAGE_PERMITTED,
'email' => MESSAGE_PERMITTED,
),
),
Expand Down
1 change: 1 addition & 0 deletions lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ function pdfannotator_supports($feature) {
function pdfannotator_get_extra_capabilities() {
return array('moodle/site:accessallgroups');
}

/**
* This function is used by the reset_course_userdata function in moodlelib.
* @param $data the data submitted from the reset course.
Expand Down

0 comments on commit df99b88

Please sign in to comment.