From 9ded7aa4d86a2fc19237753254acabfa53e1c914 Mon Sep 17 00:00:00 2001 From: catch <catch@35733.no-reply.drupal.org> Date: Thu, 20 Oct 2011 23:23:46 +0900 Subject: [PATCH] Revert "Issue #1313790 by greggles: Remove unused and undocumented from drupal_rewrite_settings()." This reverts commit bf6fd9225d23408cfa9304738affd0ff276b0931. --- includes/install.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/install.inc b/includes/install.inc index 7dbd80544dc2..e52c0ad400c3 100644 --- a/includes/install.inc +++ b/includes/install.inc @@ -581,10 +581,10 @@ class DatabaseTaskException extends Exception { * @param $settings * An array of settings that need to be updated. */ -function drupal_rewrite_settings($settings = array()) { +function drupal_rewrite_settings($settings = array(), $prefix = '') { $default_settings = 'sites/default/default.settings.php'; drupal_static_reset('conf_path'); - $settings_file = conf_path(FALSE) . '/settings.php'; + $settings_file = conf_path(FALSE) . '/' . $prefix . 'settings.php'; // Build list of setting names and insert the values into the global namespace. $keys = array(); -- GitLab