mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
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:
parent
d3674ef70b
commit
e71ea28fc8
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user