From 04d61f5251067973f80043f5fd8a9b9492885ac0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnaud=20Trouv=C3=A9?= Date: Thu, 6 Apr 2023 11:04:10 +0200 Subject: [PATCH] release 2.8.2 --- CHANGES.md | 11 ++++++++++- db/upgrade.php | 4 ++-- version.php | 4 ++-- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index d887943..e5dcf22 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,14 @@ +## v2.8.2 + * Solves issue #44 - postgresql compatibility issue during upgrade process, previous fix was still buggy. + +## v2.8.1 + * Solves issue #44 - postgresql compatibility issue during upgrade process + +## v2.8 + * Solves Issue #38 - thanks to Giorgio Riva for the fix. + ## v2.7 - * Solves Issue #37 - thanks to nrosenquist for fix + * Solves Issue #37 - thanks to nrosenquist for fix ## v2.5 * Solves https://github.com/emmarichardson/local_autogroup/issues/16 default group by diff --git a/db/upgrade.php b/db/upgrade.php index 77fa2f0..965e2fc 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -90,9 +90,9 @@ function xmldb_local_autogroup_upgrade($oldversion) { upgrade_plugin_savepoint(true, 2019010300, 'local', 'autogroup'); } - if ($oldversion < 2023032302.01) { + if ($oldversion < 2023040600) { $DB->delete_records_select('local_autogroup_manual', 'groupid IN (SELECT id FROM {groups} WHERE idnumber NOT LIKE ?)', ['autogroup|%']); - upgrade_plugin_savepoint(true, 2023032302.01, 'local', 'autogroup'); + upgrade_plugin_savepoint(true, 2023040600, 'local', 'autogroup'); } return true; diff --git a/version.php b/version.php index 786c193..5466a8e 100644 --- a/version.php +++ b/version.php @@ -28,8 +28,8 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2023032202.01; +$plugin->version = 2023040600; $plugin->requires = 2013111800.00; // Requires this Moodle version (2.7). -$plugin->release = '2.8.1'; // Plugin release. +$plugin->release = '2.8.2'; // Plugin release. $plugin->component = 'local_autogroup'; // Full name of the plugin (used for diagnostics). $plugin->maturity = MATURITY_STABLE;