Commit f373703b authored by catch's avatar catch
Browse files

Issue #1313790 by greggles: Remove unused and undocumented $prefix from drupal_rewrite_settings().

parent 9ded7aa4
...@@ -581,10 +581,10 @@ class DatabaseTaskException extends Exception { ...@@ -581,10 +581,10 @@ class DatabaseTaskException extends Exception {
* @param $settings * @param $settings
* An array of settings that need to be updated. * 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'; $default_settings = 'sites/default/default.settings.php';
drupal_static_reset('conf_path'); 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. // Build list of setting names and insert the values into the global namespace.
$keys = array(); $keys = array();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment