Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
f373703b
Commit
f373703b
authored
Oct 21, 2011
by
Nathaniel Catchpole
Browse files
Issue
#1313790
by greggles: Remove unused and undocumented $prefix from drupal_rewrite_settings().
parent
9ded7aa4
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/install.inc
View file @
f373703b
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment