Skip to content
Permalink
Browse files

Enums are out in 2.0, so we cannot introduce any in the 1.9 => 2.0 up…

…grade. Deleting the upgrade block.
  • Loading branch information...
stronk7
stronk7 committed Jul 2, 2009
1 parent fa381ac commit fdc391470e6553aafb4d9347e184236a35e4fd2f
Showing with 0 additions and 13 deletions.
  1. +0 −13 lib/db/upgrade.php
@@ -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');

0 comments on commit fdc3914

Please sign in to comment.
You can’t perform that action at this time.