7.16 less patch previous patches are preserved

Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy
2012-10-26 21:57:49 +02:00
parent e5028b4522
commit 4240ab47e8
125 changed files with 409 additions and 369 deletions

View File

@@ -8,7 +8,7 @@
/**
* The current system version.
*/
define('VERSION', '7.15');
define('VERSION', '7.16');
/**
* Core API compatibility.

View File

@@ -295,12 +295,11 @@ function install_begin_request(&$install_state) {
else {
$task = NULL;
// Since previous versions of Drupal stored database connection information
// in the 'db_url' variable, we should never let an installation proceed if
// this variable is defined and the settings file was not verified above
// (otherwise we risk installing over an existing site whose settings file
// has not yet been updated).
if (!empty($GLOBALS['db_url'])) {
// Do not install over a configured settings.php. Check the 'db_url'
// variable in addition to 'databases', since previous versions of Drupal
// used that (and we do not want to allow installations on an existing site
// whose settings file has not yet been updated).
if (!empty($GLOBALS['databases']) || !empty($GLOBALS['db_url'])) {
throw new Exception(install_already_done_error());
}
}