Skip to content

Commit cc6190b

Browse files
committed
Fixed version bump issue (#684)
1 parent 0e575f1 commit cc6190b

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
@@ -316,7 +316,7 @@ function xmldb_customcert_upgrade($oldversion) {
316316
upgrade_plugin_savepoint(true, 2024042210, 'mod', 'customcert');
317317
}
318318

319-
if ($oldversion < 2025062100) {
319+
if ($oldversion < 2024042213) {
320320
$table = new xmldb_table('customcert');
321321

322322
// Add 'usecustomfilename' field.
@@ -332,7 +332,8 @@ function xmldb_customcert_upgrade($oldversion) {
332332
}
333333

334334
// Savepoint reached.
335-
upgrade_mod_savepoint(true, 2025062100, 'customcert');
335+
upgrade_mod_savepoint(true, 2024042213, 'customcert');
336336
}
337+
337338
return true;
338339
}

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 = 2025062100; // The current module version (Date: YYYYMMDDXX).
27+
$plugin->version = 2024042213; // 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)