From: mark-nielsen Date: Fri, 23 Feb 2007 17:57:46 +0000 (+0000) Subject: OK, so I flip-flopped on this - reverting to previous number. For some users, this... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=01e617739f648af7c13fea23d68147e7dcf5469b;p=moodle.git OK, so I flip-flopped on this - reverting to previous number. For some users, this db update will fire off twice, luckily there is no harm in doing this. --- diff --git a/mod/lesson/db/upgrade.php b/mod/lesson/db/upgrade.php index 609908f53e..85798a6d48 100644 --- a/mod/lesson/db/upgrade.php +++ b/mod/lesson/db/upgrade.php @@ -45,7 +45,7 @@ function xmldb_lesson_upgrade($oldversion=0) { $result = $result && change_field_notnull($table, $field); } - if ($result && $oldversion < 2006091804) { + if ($result && $oldversion < 2007020201) { /// Changing nullability of field answer on table lesson_answers to null $table = new XMLDBTable('lesson_answers');