mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-15498: Completion fix: forum upgrade broken
This commit is contained in:
parent
1e0c56eac8
commit
ee6a5a9d4a
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue