opps, removing obsolete config.php deletion - this function is now used from different installers, admins will have to delete config.php manually...

This commit is contained in:
Petr Skoda 2010-09-18 11:29:10 +00:00
parent d3674ef70b
commit e71ea28fc8

View File

@ -514,6 +514,7 @@ function install_cli_database(array $options, $interactive) {
$CFG->version = '';
$CFG->release = '';
$version = null;
// read $version and $release
require($CFG->dirroot.'/version.php');
@ -534,8 +535,6 @@ function install_cli_database(array $options, $interactive) {
list($info, $report) = $error;
echo "!! $info !!\n$report\n\n";
}
//remove config.php, we do not want half finished upgrades!
unlink($configfile);
exit(1);
}