MDL-78567 communication_matrix: Fixed plugin version for upgrade

This commit is contained in:
Stevani Andolo
2023-06-30 11:21:17 +08:00
parent 8dbb6183ff
commit 68e60b9bab
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ function xmldb_communication_matrix_upgrade($oldversion) {
global $DB;
$dbman = $DB->get_manager();
if ($oldversion < 2023041100) {
if ($oldversion < 2023060101) {
$table = new xmldb_table('matrix_rooms');
$field = new xmldb_field('topic', XMLDB_TYPE_CHAR, '255', null, false, false, null, 'roomid');
@@ -39,7 +39,7 @@ function xmldb_communication_matrix_upgrade($oldversion) {
$dbman->add_field($table, $field);
}
// Plugin savepoint reached.
upgrade_plugin_savepoint(true, 2023041100, 'communication', 'matrix');
upgrade_plugin_savepoint(true, 2023060101, 'communication', 'matrix');
}
return true;
+1 -1
View File
@@ -25,6 +25,6 @@
defined('MOODLE_INTERNAL') || die();
$plugin->component = 'communication_matrix';
$plugin->version = 2023060100;
$plugin->version = 2023060101;
$plugin->requires = 2023011300;
$plugin->maturity = MATURITY_ALPHA;