Skip to content

Commit b790e64

Browse files
committed
MBS-10558: Fix update step to newest version to ensure it is being run, bump version and release
1 parent 42bc68b commit b790e64

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

db/upgrade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,15 +336,15 @@ function xmldb_local_ai_manager_upgrade($oldversion) {
336336
upgrade_plugin_savepoint(true, 2025082900, 'local', 'ai_manager');
337337
}
338338

339-
if ($oldversion < 2025120401) {
339+
if ($oldversion < 2026020600) {
340340
$table = new xmldb_table('local_ai_manager_instance');
341341
$field = new xmldb_field('useglobalapikey', XMLDB_TYPE_INTEGER, '1', null, null, null, null, 'apikey');
342342

343343
if (!$dbman->field_exists($table, $field)) {
344344
$dbman->add_field($table, $field);
345345
}
346346

347-
upgrade_plugin_savepoint(true, 2025120401, 'local', 'ai_manager');
347+
upgrade_plugin_savepoint(true, 2026020600, 'local', 'ai_manager');
348348
}
349349

350350
return true;

version.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
*/
2525
defined('MOODLE_INTERNAL') || die();
2626

27-
$plugin->version = 2026020100;
27+
$plugin->version = 2026020600;
2828
$plugin->requires = 2025041400;
2929
$plugin->supported = [500, 501];
30-
$plugin->release = '2.4';
30+
$plugin->release = '2.5';
3131
$plugin->component = 'local_ai_manager';
3232
$plugin->maturity = MATURITY_STABLE;

0 commit comments

Comments
 (0)