rating MDL-21657 added a space in if statement to not break upgrade safety checking script

This commit is contained in:
Andrew Davis
2010-05-17 09:33:33 +00:00
parent e641b745ee
commit e404dffd59
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -254,7 +254,7 @@ function xmldb_data_upgrade($oldversion) {
upgrade_mod_savepoint($result, 2010031602, 'data');
}
if($result && $oldversion < 2010042800) {
if ($result && $oldversion < 2010042800) {
//migrate data ratings to the central rating table
require_once($CFG->dirroot . '/lib/db/upgradelib.php');
$table = new xmldb_table('data_ratings');
+1 -1
View File
@@ -285,7 +285,7 @@ function xmldb_forum_upgrade($oldversion) {
upgrade_mod_savepoint($result, 2009050400, 'forum');
}
if($result && $oldversion < 2010042800) {
if ($result && $oldversion < 2010042800) {
//migrate forumratings to the central rating table
require_once($CFG->dirroot . '/lib/db/upgradelib.php');
$table = new xmldb_table('forum_ratings');
+1 -1
View File
@@ -260,7 +260,7 @@ function xmldb_glossary_upgrade($oldversion) {
upgrade_mod_savepoint($result, 2009110800, 'glossary');
}
if($result && $oldversion < 2010042800) {
if ($result && $oldversion < 2010042800) {
//migrate glossary_ratings to the central rating table
require_once($CFG->dirroot . '/lib/db/upgradelib.php');