From e71ea28fc89ac35bec517afafbfe9f71bdc6257a Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sat, 18 Sep 2010 11:29:10 +0000 Subject: [PATCH] opps, removing obsolete config.php deletion - this function is now used from different installers, admins will have to delete config.php manually... --- lib/installlib.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/installlib.php b/lib/installlib.php index a1e8f0e48ba..db577c5c2b1 100644 --- a/lib/installlib.php +++ b/lib/installlib.php @@ -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); }