From 6036cbc4a0a77f4f067c4b9cdc114419b944eef8 Mon Sep 17 00:00:00 2001 From: Stephan Robotta Date: Thu, 8 Aug 2024 10:48:46 +0200 Subject: [PATCH] Remove deprecated definitions and function for 4.5 compatibility --- db/messages.php | 2 +- lib.php | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/db/messages.php b/db/messages.php index f9c94b8..556fae6 100644 --- a/db/messages.php +++ b/db/messages.php @@ -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, ), ), diff --git a/lib.php b/lib.php index 3a7d5fe..1c73b9d 100644 --- a/lib.php +++ b/lib.php @@ -67,14 +67,6 @@ function pdfannotator_supports($feature) { default: return null; } -} -/** - * Function currently unused. - * - * @return string - */ -function mod_pdfannotator_before_standard_html_head() { - } /** * Returns all other caps used in module