summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcatch2011-10-21 03:22:19 (GMT)
committercatch2011-10-21 03:22:19 (GMT)
commitf373703b84f7fff74866a168317496b52fe760fe (patch)
treebfeece9d80709ae84e8d462b68aaf68d04e03bfe
parent9ded7aa4d86a2fc19237753254acabfa53e1c914 (diff)
Issue #1313790 by greggles: Remove unused and undocumented $prefix from drupal_rewrite_settings().
-rw-r--r--includes/install.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/install.inc b/includes/install.inc
index e52c0ad..7dbd805 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();