Skip to content

Commit

Permalink
Merge pull request #458 from catalyst/factor-token-version-457
Browse files Browse the repository at this point in the history
Fix factor token version #457
  • Loading branch information
danmarsden authored May 17, 2024
2 parents 9b7c45b + 179fa1c commit a040bc5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion factor/token/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,14 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2023101600; // The current plugin version (Date: YYYYMMDDXX).
$plugin->version = 2023080100; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2022041908; // Support Moodle 4.0 and higher.
$plugin->component = 'factor_token';
$plugin->release = 2022011700;
$plugin->maturity = MATURITY_STABLE;
$plugin->dependencies = ['tool_mfa' => 2019102400];

// Fix version numbers that are higher than 4.3 core.
if (!during_initial_install() && (int) get_config('factor_token', 'version') >= 2023100900) {
set_config('version', '2023080100', 'factor_token');
}

0 comments on commit a040bc5

Please sign in to comment.