summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcatch2011-10-20 14:23:46 (GMT)
committercatch2011-10-20 14:23:46 (GMT)
commit9ded7aa4d86a2fc19237753254acabfa53e1c914 (patch)
tree8fe9396b0a6beddff5cff120688a2fb939858f9f
parentbf6fd9225d23408cfa9304738affd0ff276b0931 (diff)
Revert "Issue #1313790 by greggles: Remove unused and undocumented from drupal_rewrite_settings()."
This reverts commit bf6fd9225d23408cfa9304738affd0ff276b0931.
-rw-r--r--includes/install.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/install.inc b/includes/install.inc
index 7dbd805..e52c0ad 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();