rating MDL-21657 added a space in if statement to not break upgrade safety checking script
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user