From ea92ada4b50f4db96780460d7f4ba930eca7fe16 Mon Sep 17 00:00:00 2001 From: oliviervalentin Date: Tue, 28 May 2024 12:12:22 +0200 Subject: [PATCH] Upgrade version --- db/upgrade.php | 4 ++++ version.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/db/upgrade.php b/db/upgrade.php index 214ca4a..6b941d1 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -108,5 +108,9 @@ function xmldb_report_coursemanager_upgrade($oldversion) { $DB->delete_records('report_coursemanager_orphans'); upgrade_plugin_savepoint(true, 2024050304, 'report', 'coursemanager'); } + if ($oldversion < 2024050305) { + // HOTFIX : error in courses without teachers admin page. + upgrade_plugin_savepoint(true, 2024050305, 'report', 'coursemanager'); + } return true; } diff --git a/version.php b/version.php index 286a298..c9557f1 100644 --- a/version.php +++ b/version.php @@ -24,7 +24,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2024050304; +$plugin->version = 2024050305; $plugin->release = '3.2.1'; $plugin->requires = 2020061516; $plugin->component = 'report_coursemanager';