MDL-80571 tiny_premium: Fix version
This commit is contained in:
@@ -38,7 +38,7 @@ function xmldb_tiny_premium_upgrade($oldversion) {
|
||||
|
||||
// Automatically generated Moodle v4.3.0 release upgrade line.
|
||||
// Put any upgrade step following this.
|
||||
if ($oldversion < 2024042400) {
|
||||
if ($oldversion < 2024042201) {
|
||||
|
||||
// Only enable the premium plugins if we have an API key.
|
||||
if (!empty(get_config('tiny_premium', 'apikey'))) {
|
||||
@@ -48,7 +48,7 @@ function xmldb_tiny_premium_upgrade($oldversion) {
|
||||
};
|
||||
}
|
||||
|
||||
upgrade_plugin_savepoint(true, 2024042400, 'tiny', 'premium');
|
||||
upgrade_plugin_savepoint(true, 2024042201, 'tiny', 'premium');
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
@@ -24,6 +24,6 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$plugin->version = 2024043000;
|
||||
$plugin->version = 2024042201;
|
||||
$plugin->requires = 2024041600;
|
||||
$plugin->component = 'tiny_premium';
|
||||
|
||||
Reference in New Issue
Block a user