From abe5ee676c787e3761ad5e0c9120ee3a674aa971 Mon Sep 17 00:00:00 2001 From: Luuk Verhoeven Date: Fri, 26 Apr 2024 10:56:34 +0200 Subject: [PATCH] Update for Moodle 4.4 --- classes/hook/before_http_headers.php | 3 +++ version.php | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/classes/hook/before_http_headers.php b/classes/hook/before_http_headers.php index 1c6cf02..20f969b 100644 --- a/classes/hook/before_http_headers.php +++ b/classes/hook/before_http_headers.php @@ -26,6 +26,9 @@ namespace local_commander\hook; +use context_course; +use context_system; + /** * Class before_http_headers. * diff --git a/version.php b/version.php index ead0f64..1a4dac6 100644 --- a/version.php +++ b/version.php @@ -25,8 +25,9 @@ **/ defined('MOODLE_INTERNAL') || die(); -$plugin->release = '4.1.1 (2024011500)'; +$plugin->release = '4.4.0 (2024042600)'; $plugin->maturity = MATURITY_STABLE; -$plugin->version = 2024011500; +$plugin->version = 2024042600; $plugin->requires = 2015111602; $plugin->component = 'local_commander'; +$plugin->supported = [39, 404];