From: sam_marshall Date: Mon, 28 Jul 2008 17:27:33 +0000 (+0000) Subject: MDL-15498: Completion fix: forum upgrade broken X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ee6a5a9d4aa8b2c0b52aca886f92e4191611722b;p=moodle.git MDL-15498: Completion fix: forum upgrade broken --- diff --git a/mod/forum/db/upgrade.php b/mod/forum/db/upgrade.php index 24a4047f4e..e7c18e4837 100644 --- a/mod/forum/db/upgrade.php +++ b/mod/forum/db/upgrade.php @@ -91,7 +91,7 @@ function xmldb_forum_upgrade($oldversion=0) { /// Define field completiondiscussions to be added to forum $table = new xmldb_table('forum'); $field = new xmldb_field('completiondiscussions'); - $field->set_attributes(XMLDB_TYPE_INTEGER, '9', XMLDB_UNSIGNED, XMLDB_NOTNULL, null, null, null, '0', 'draft'); + $field->set_attributes(XMLDB_TYPE_INTEGER, '9', XMLDB_UNSIGNED, XMLDB_NOTNULL, null, null, null, '0', 'blockperiod'); /// Launch add field completiondiscussions if(!$dbman->field_exists($table,$field)) {