From 4906997bbb214a483560ec3be820150d5bb44622 Mon Sep 17 00:00:00 2001
From: tjhunt <tjhunt>
Date: Mon, 15 Sep 2008 04:20:23 +0000
Subject: [PATCH] MDL-16492: the fix for MDL-16411 broke the fix for MDL-16200.
 Fix it.

---
 mod/quiz/db/upgrade.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mod/quiz/db/upgrade.php b/mod/quiz/db/upgrade.php
index 61305afa38..0ee90aae78 100644
--- a/mod/quiz/db/upgrade.php
+++ b/mod/quiz/db/upgrade.php
@@ -192,7 +192,7 @@ function xmldb_quiz_upgrade($oldversion) {
     /// we need to say that these tables are already installed, otherwise XMLDB
     /// will try to create them again and give an error.
     if ($result && $oldversion < 2008082600) {
-        set_config('qtype_datasetdependent_version', 2008082600);
+        set_config('version', 2008082600, 'qtype_datasetdependent');
         upgrade_mod_savepoint($result, 2008082600, 'quiz');
     }
 
-- 
2.39.5