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 30fbe2a commit 169a252
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, 2023042405, 'customcert');
}

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

// 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, 2024042202, '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 = 2024042201; // The current module version (Date: YYYYMMDDXX).
$plugin->version = 2024042202; // The current module version (Date: YYYYMMDDXX).
$plugin->requires = 2024042200; // Requires this Moodle version (4.4).
$plugin->cron = 0; // Period for cron to check this module (secs).
$plugin->component = 'mod_customcert';
Expand Down

0 comments on commit 169a252

Please sign in to comment.