MDL-87287 qbank_tagquestion: Fix version bump

This commit is contained in:
Mihail Geshoski
2026-01-22 14:25:06 +07:00
committed by Huong Nguyen
parent 2e011c622f
commit 555eef58af
2 changed files with 3 additions and 3 deletions
@@ -30,7 +30,7 @@
*/
function xmldb_qbank_tagquestion_upgrade(int $oldversion): bool {
global $DB;
if ($oldversion < 2025112800) {
if ($oldversion < 2025100601) {
// Delete orphaned question tags.
$orphanedtags = $DB->get_records_sql("
SELECT ti.id
@@ -44,7 +44,7 @@ function xmldb_qbank_tagquestion_upgrade(int $oldversion): bool {
$DB->delete_records_list('tag_instance', 'id', array_keys($orphanedtags));
}
upgrade_plugin_savepoint(true, 2025112800, 'qbank', 'tagquestion');
upgrade_plugin_savepoint(true, 2025100601, 'qbank', 'tagquestion');
}
return true;
}
+1 -1
View File
@@ -26,6 +26,6 @@
defined('MOODLE_INTERNAL') || die();
$plugin->component = 'qbank_tagquestion';
$plugin->version = 2025112800;
$plugin->version = 2025100601;
$plugin->requires = 2025092600;
$plugin->maturity = MATURITY_STABLE;