MDL-17427 another round of refactoring of upgrade related functions - this should be final now I hope ;-)

This commit is contained in:
skodak
2009-01-29 19:58:47 +00:00
parent 1f20942c3b
commit 0cb93a7e45
20 changed files with 126 additions and 126 deletions
+3 -3
View File
@@ -804,7 +804,7 @@ if ( file_exists(dirname(dirname(__FILE__)) . '/config.php')) {
/// return to original debugging level
$CFG->debug = $origdebug;
error_reporting($CFG->debug);
upgrade_log_start();
upgrade_started();
/// Both old .sql files and new install.xml are supported
/// But we prioritise install.xml (XMLDB) if present
@@ -930,7 +930,7 @@ if ( file_exists(dirname(dirname(__FILE__)) . '/config.php')) {
/// return to original debugging level
$CFG->debug = $origdebug;
error_reporting($CFG->debug);
upgrade_log_start();
upgrade_started();
/// Upgrade current language pack if we can
upgrade_language_pack();
@@ -1050,7 +1050,7 @@ if ( file_exists(dirname(dirname(__FILE__)) . '/config.php')) {
/// just make sure upgrade logging is properly terminated
upgrade_log_finish();
upgrade_finished();
/// Set up the site
if (! $site = get_site()) {