From bf6fd9225d23408cfa9304738affd0ff276b0931 Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Thu, 20 Oct 2011 23:22:50 +0900
Subject: [PATCH] Issue #1313790 by greggles: Remove unused and undocumented 
 from drupal_rewrite_settings().

---
 includes/install.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/includes/install.inc b/includes/install.inc
index e52c0ad400c3..7dbd80544dc2 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(), $prefix = '') {
+function drupal_rewrite_settings($settings = array()) {
   $default_settings = 'sites/default/default.settings.php';
   drupal_static_reset('conf_path');
-  $settings_file = conf_path(FALSE) . '/' . $prefix . 'settings.php';
+  $settings_file = conf_path(FALSE) . '/settings.php';
 
   // Build list of setting names and insert the values into the global namespace.
   $keys = array();
-- 
GitLab