Skip to content

Commit

Permalink
Merge branch 'MDL-78567-master' of https://github.com/stevandoMoodle/…
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols authored and sarjona committed Jul 13, 2023
2 parents 19dbec6 + 68e60b9 commit 6d8db08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions communication/provider/matrix/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ 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');

if (!$dbman->field_exists($table, $field)) {
$dbman->add_field($table, $field);
}
// Plugin savepoint reached.
upgrade_plugin_savepoint(true, 2023041100, 'communication', 'matrix');
upgrade_plugin_savepoint(true, 2023060101, 'communication', 'matrix');
}

return true;
Expand Down
2 changes: 1 addition & 1 deletion communication/provider/matrix/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 6d8db08

Please sign in to comment.