From f373703b84f7fff74866a168317496b52fe760fe Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Fri, 21 Oct 2011 12:22:19 +0900
Subject: [PATCH] Issue #1313790 by greggles: Remove unused and undocumented
 $prefix 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