From ca756b13a9706d9604255b4387302aba2cb95cc0 Mon Sep 17 00:00:00 2001 From: Felipe Carasso Date: Wed, 10 Jun 2020 00:35:52 -0400 Subject: [PATCH] chore: remove functions from db upgrade deprecated on Moodle 3.9 --- db/upgrade.php | 6 ------ version.php | 6 +++--- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/db/upgrade.php b/db/upgrade.php index 5c78612..e03b459 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -7,11 +7,5 @@ function xmldb_auth_emailadmin_upgrade($oldversion) { global $CFG, $DB; - if ($oldversion < 2019070800) { - upgrade_fix_config_auth_plugin_names('emailadmin'); - upgrade_fix_config_auth_plugin_defaults('emailadmin'); - upgrade_plugin_savepoint(true, 2019070800, 'auth', 'emailadmin'); - } - return true; } diff --git a/version.php b/version.php index 4d948c8..bc177f4 100644 --- a/version.php +++ b/version.php @@ -26,8 +26,8 @@ defined('MOODLE_INTERNAL') || die; -$plugin->version = 2019072300; // The current plugin version (Date: YYYYMMDDXX). -$plugin->requires = 2015051101; // Requires this Moodle version. +$plugin->version = 2030061000; // The current plugin version (Date: YYYYMMDDXX). +$plugin->requires = 2017111300; // Requires this Moodle version. $plugin->component = 'auth_emailadmin'; // Full name of the plugin (used for diagnostics). $plugin->maturity = MATURITY_STABLE; -$plugin->release = '1.4.4'; +$plugin->release = '1.4.5';