Skip to content

Commit

Permalink
chore: remove functions from db upgrade deprecated on Moodle 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
hrimhari committed Jun 10, 2020
1 parent 9ef9f7b commit ca756b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 0 additions & 6 deletions db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
6 changes: 3 additions & 3 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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).

This comment has been minimized.

Copy link
@victorcatn

victorcatn Jun 21, 2020

It should be 2020061000

This comment has been minimized.

Copy link
@hrimhari

hrimhari Jun 21, 2020

Author Owner

Yeah, I'll wait till 2030 to have it fixed. Thanks 😉

$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';

0 comments on commit ca756b1

Please sign in to comment.