diff --git a/CHANGES.md b/CHANGES.md index 1a94f75..efead24 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,11 @@ moodle-quiz_archive Changes ------- + +### Release v3.8-r3 + +* 2020-01-20 - Corrected an error in the update script in v3.8-r2. + ### Release v3.8-r2 * 2020-01-20 - Lowered the quiz archive priority so not to appear as default, which happened in some environements. diff --git a/db/upgrade.php b/db/upgrade.php index d3293d1..0f9c936 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -44,7 +44,7 @@ function xmldb_quiz_archive_upgrade($oldversion) { WHERE name = 'archive'"; $DB->execute($updatesql); - upgrade_plugin_savepoint(true, 2020012000, 'auth', 'oauth2'); + upgrade_plugin_savepoint(true, 2020012000, 'quiz', 'archive'); } return true;