]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-16492: the fix for MDL-16411 broke the fix for MDL-16200. Fix it.
authortjhunt <tjhunt>
Mon, 15 Sep 2008 04:20:23 +0000 (04:20 +0000)
committertjhunt <tjhunt>
Mon, 15 Sep 2008 04:20:23 +0000 (04:20 +0000)
mod/quiz/db/upgrade.php

index 61305afa38b800d08d6519f645bd14c128e759f8..0ee90aae789c9db7844c3d85702780254713f3e7 100644 (file)
@@ -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');
     }