MDL-87492 mod_quiz: Fix improper version bump

This commit is contained in:
Mihail Geshoski
2026-02-25 09:45:11 +08:00
parent 0fc56b0ceb
commit 783f804fb2
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -135,7 +135,7 @@ function xmldb_quiz_upgrade($oldversion) {
// Automatically generated Moodle v5.0.0 release upgrade line.
// Put any upgrade step following this.
if ($oldversion < 2026011600) {
if ($oldversion < 2025041401) {
// Queue tasks to process stuck quiz attempts (state = 'submitted').
$attemptids = $DB->get_fieldset_select(
'quiz_attempts',
@@ -150,7 +150,7 @@ function xmldb_quiz_upgrade($oldversion) {
}
// Quiz savepoint reached.
upgrade_mod_savepoint(true, 2026011600, 'quiz');
upgrade_mod_savepoint(true, 2025041401, 'quiz');
}
return true;
+1 -1
View File
@@ -24,6 +24,6 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2026011600;
$plugin->version = 2025041401;
$plugin->requires = 2025040800;
$plugin->component = 'mod_quiz';