Skip to content

Commit

Permalink
Bump version.php and version in upgrade.php due rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Perez committed Feb 9, 2022
1 parent a06c0c2 commit 9665e77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function xmldb_local_cohortrole_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2018121001, 'local', 'cohortrole');
}

if ($oldversion < 2020110901) {
if ($oldversion < 2021060801) {
// Define field categoryid to be added to local_cohortrole.
$table = new xmldb_table('local_cohortrole');
$field = new xmldb_field('categoryid', XMLDB_TYPE_INTEGER, '10', null, XMLDB_NOTNULL, null, 0, 'roleid');
Expand All @@ -144,7 +144,7 @@ function xmldb_local_cohortrole_upgrade($oldversion) {
$dbman->add_index($table, $index);

// Cohortrole savepoint reached.
upgrade_plugin_savepoint(true, 2020110901, 'local', 'cohortrole');
upgrade_plugin_savepoint(true, 2021060801, 'local', 'cohortrole');
}

return true;
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@

$plugin->component = 'local_cohortrole';
$plugin->release = '3.4';
$plugin->version = 2021060800;
$plugin->version = 2021060801;
$plugin->requires = 2018051703; // Moodle 3.5.3 onwards.
$plugin->maturity = MATURITY_STABLE;

0 comments on commit 9665e77

Please sign in to comment.