Skip to content

Commit 169a252

Browse files
committed
Fixed version bump and version used in upgrade (#531)
1 parent 30fbe2a commit 169a252

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

db/upgrade.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ function xmldb_customcert_upgrade($oldversion) {
235235
upgrade_mod_savepoint(true, 2023042405, 'customcert');
236236
}
237237

238-
if ($oldversion < 2023042409) {
238+
if ($oldversion < 2024042202) {
239239

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

266266
// Customcert savepoint reached.
267-
upgrade_mod_savepoint(true, 2023042409, 'customcert');
267+
upgrade_mod_savepoint(true, 2024042202, 'customcert');
268268
}
269+
269270
return true;
270271
}

version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

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

27-
$plugin->version = 2024042201; // The current module version (Date: YYYYMMDDXX).
27+
$plugin->version = 2024042202; // The current module version (Date: YYYYMMDDXX).
2828
$plugin->requires = 2024042200; // Requires this Moodle version (4.4).
2929
$plugin->cron = 0; // Period for cron to check this module (secs).
3030
$plugin->component = 'mod_customcert';

0 commit comments

Comments
 (0)