diff --git a/db/upgrade.php b/db/upgrade.php index ae34209a..6c0efa05 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -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'); @@ -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; } diff --git a/version.php b/version.php index 47f95f7e..9d8c05d2 100644 --- a/version.php +++ b/version.php @@ -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';