Fix copy-paste issue in upgrade script

This commit is contained in:
Dmitrii Metelkin 2018-05-02 10:40:16 +10:00
parent 15cfe70041
commit 112aeb25d2

View file

@ -30,7 +30,7 @@ function xmldb_auth_userkey_upgrade($oldversion) {
if ($oldversion < 2018050200) {
// Confirm all previously created users.
$DB->execute("UPDATE {user} SET confirmed=? WHERE auth=?", array(1, 'userkey'));
upgrade_plugin_savepoint(true, 2018050200, 'auth', 'saml2');
upgrade_plugin_savepoint(true, 2018050200, 'auth', 'userkey');
}
return true;