Skip to content
Snippets Groups Projects
Commit bf6fd922 authored by catch's avatar catch
Browse files

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

parent 1d1b70d5
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment