Skip to content

Commit

Permalink
Fixed version bump and version used in upgrade (#531)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjnelson committed Aug 18, 2024
1 parent a8a30fc commit 90fe508
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ function xmldb_customcert_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2022112804, 'customcert');
}

if ($oldversion < 2023042409) {
if ($oldversion < 2022112809) {

// Define table customcert_email_task_prgrs to be created.
$table = new xmldb_table('customcert_email_task_prgrs');
Expand Down Expand Up @@ -264,7 +264,8 @@ function xmldb_customcert_upgrade($oldversion) {
}

// Customcert savepoint reached.
upgrade_mod_savepoint(true, 2023042409, 'customcert');
upgrade_mod_savepoint(true, 2022112809, 'customcert');
}

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

defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.');

$plugin->version = 2022112808; // The current module version (Date: YYYYMMDDXX).
$plugin->version = 2022112809; // The current module version (Date: YYYYMMDDXX).
$plugin->requires = 2022112800; // Requires this Moodle version (4.1).
$plugin->cron = 0; // Period for cron to check this module (secs).
$plugin->component = 'mod_customcert';
Expand Down

0 comments on commit 90fe508

Please sign in to comment.