upgrade logging cleanup, fixes - more improvements ahead

This commit is contained in:
skodak
2006-08-17 22:37:34 +00:00
parent 031c8ae5a0
commit dedb2304cd
6 changed files with 15 additions and 19 deletions
+1 -2
View File
@@ -919,7 +919,6 @@ function upgrade_blocks_db($continueto) {
if (set_config('blocks_version', $blocks_version)) {
notify(get_string('databasesuccess'), 'notifysuccess');
notify(get_string('databaseupgradeblocks', '', $blocks_version), 'notifysuccess');
upgrade_log_finish();
print_continue($continueto);
exit;
} else {
@@ -945,7 +944,6 @@ function upgrade_blocks_db($continueto) {
if (set_config('blocks_version', $blocks_version)) {
notify(get_string('databasesuccess'), 'notifysuccess');
notify(get_string('databaseupgradeblocks', '', $blocks_version), 'notifysuccess');
upgrade_log_finish();
print_continue($continueto);
exit;
} else {
@@ -959,6 +957,7 @@ function upgrade_blocks_db($continueto) {
} else if ($blocks_version < $CFG->blocks_version) {
upgrade_log_start();
notify('WARNING!!! The Blocks version you are using is OLDER than the version that made these databases!');
upgrade_log_finish();
}
}