MDL-78567 communication_matrix: Fixed plugin version for upgrade
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user