summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-10-14 10:56:35 +0000
committerDries Buytaert <dries@buytaert.net>2009-10-14 10:56:35 +0000
commita019a9ebb050883437e759cd96b5d32a717de318 (patch)
tree6007bc3950525b055bdc05d9ac2ba9c0ebb6b408 /modules/system/system.install
parent3314d417715ac2e7032278a56121df5b7251c3ce (diff)
downloadbrdo-a019a9ebb050883437e759cd96b5d32a717de318.tar.gz
brdo-a019a9ebb050883437e759cd96b5d32a717de318.tar.bz2
- Patch #563708 by JohnAlbin, joshmiller: improve theme_get_setting() and make custom theme settings a true form_alter().
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 6564e0235..47bc3a968 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -2113,7 +2113,7 @@ function system_update_7017() {
}
// Unset deprecated 'toggle_node_info' theme settings.
- $theme_settings = theme_get_settings();
+ $theme_settings = variable_get('theme_settings', array());
foreach ($theme_settings as $setting => $value) {
if (substr($setting, 0, 16) == 'toggle_node_info') {
unset($theme_settings[$setting]);