Skip to content

Commit

Permalink
Fix factor token version
Browse files Browse the repository at this point in the history
  • Loading branch information
bwalkerl committed Apr 12, 2024
1 parent 9b7c45b commit 17438fa
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() && get_config('factor_token', 'version') >= '2023100900') {
set_config('version', $plugin->version, 'factor_token');
}

0 comments on commit 17438fa

Please sign in to comment.