From 1af72d905e71cb1c6ec32dc303d8c0ee8b2a57ba Mon Sep 17 00:00:00 2001 From: David Watson <14983002+watson8@users.noreply.github.com> Date: Mon, 19 Aug 2024 11:12:34 +0100 Subject: [PATCH] CTP-3716 deprecated constant --- db/messages.php | 4 ++-- version.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/db/messages.php b/db/messages.php index bc5d351a..d6264739 100644 --- a/db/messages.php +++ b/db/messages.php @@ -29,13 +29,13 @@ ), 'submission_receipt' => array( 'defaults' => array( - 'popup' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_LOGGEDIN + MESSAGE_DEFAULT_LOGGEDOFF, + 'popup' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_ENABLED, 'email' => MESSAGE_FORCED, ), ), 'coursework_submission' => array( 'defaults' => array( - 'popup' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_LOGGEDIN + MESSAGE_DEFAULT_LOGGEDOFF, + 'popup' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_ENABLED, 'email' => MESSAGE_FORCED, ), ), diff --git a/version.php b/version.php index 6c14b700..2d63d101 100644 --- a/version.php +++ b/version.php @@ -24,10 +24,10 @@ $plugin->component = 'mod_coursework'; -$plugin->version = 2024080600; // If version == 0 then module will not be installed -$plugin->requires = 2021051700; // Requires this Moodle version 3.11 +$plugin->version = 2024081900; // If version == 0 then module will not be installed +$plugin->requires = 2023100400; // Requires this Moodle version $plugin->cron = 300; // Period for cron to check this module (secs). -$plugin->release = "3.11"; +$plugin->release = "4.3.0"; $plugin->maturity = MATURITY_STABLE;