Permalink
Browse files

NOBUG: Fix whitespace

  • Loading branch information...
1 parent 21c91e2 commit a81d26ac36256847b8a8ce538bdc2a3532070951 @stronk7 stronk7 committed Jan 24, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/db/upgrade.php
View
@@ -5937,11 +5937,11 @@ function xmldb_main_upgrade($oldversion) {
upgrade_main_savepoint(true, 2011011414);
}
-
+
if ($oldversion < 2011011415) {
//create the rating table indexes if required
$table = new xmldb_table('rating');
-
+
$index = new xmldb_index('itemid', XMLDB_INDEX_NOTUNIQUE, array('itemid'));
if (!$dbman->index_exists($table, $index)) {
$dbman->add_index($table, $index);
@@ -5952,7 +5952,7 @@ function xmldb_main_upgrade($oldversion) {
$key = new xmldb_key('userid', XMLDB_KEY_FOREIGN, array('userid'), 'user', array('id'));
$dbman->add_key($table, $key);
}
-
+
upgrade_main_savepoint(true, 2011011415);
}

0 comments on commit a81d26a

Please sign in to comment.