mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
Enums are out in 2.0, so we cannot introduce any in the 1.9 => 2.0 upgrade. Deleting the upgrade block.
This commit is contained in:
parent
fa381ac70e
commit
fdc391470e
@ -608,19 +608,6 @@ function xmldb_main_upgrade($oldversion) {
|
||||
upgrade_main_savepoint($result, 2008081300);
|
||||
}
|
||||
|
||||
if ($result && $oldversion < 2008081301) {
|
||||
|
||||
/// Changing list of values (enum) of field publishstate on table post to 'draft', 'site', 'public', 'group', 'course'
|
||||
$table = new xmldb_table('post');
|
||||
$field = new xmldb_field('publishstate', XMLDB_TYPE_CHAR, '20', null, XMLDB_NOTNULL, null, XMLDB_ENUM, array('draft', 'site', 'public', 'group', 'course'), 'draft', 'attachment');
|
||||
|
||||
/// Launch change of list of values for field publishstate
|
||||
$dbman->change_field_enum($table, $field);
|
||||
|
||||
/// Main savepoint reached
|
||||
upgrade_main_savepoint($result, 2008081301);
|
||||
}
|
||||
|
||||
if ($result && $oldversion < 2008081500) {
|
||||
/// Changing the type of all the columns that the question bank uses to store grades to be NUMBER(12, 7).
|
||||
$table = new xmldb_table('question');
|
||||
|
Loading…
x
Reference in New Issue
Block a user