summaryrefslogtreecommitdiff
path: root/modules/color
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-07-16 02:37:06 +0000
committerDries Buytaert <dries@buytaert.net>2010-07-16 02:37:06 +0000
commit2ad0a2c1f79b15ab74c734424a9d4a4d388028c2 (patch)
treeab48b7e5fd849d0b568e5829250aadbe2f274e07 /modules/color
parentda75021509b179b6c42f633d16cd09a7e6ce339d (diff)
downloadbrdo-2ad0a2c1f79b15ab74c734424a9d4a4d388028c2.tar.gz
brdo-2ad0a2c1f79b15ab74c734424a9d4a4d388028c2.tar.bz2
- Patch #684982 by plach: audit of global language variable use.
Diffstat (limited to 'modules/color')
-rw-r--r--modules/color/color.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/color/color.module b/modules/color/color.module
index 01b3a432f..682518f04 100644
--- a/modules/color/color.module
+++ b/modules/color/color.module
@@ -73,7 +73,7 @@ function _color_theme_select_form_alter(&$form, &$form_state) {
* Callback for the theme to alter the resources used.
*/
function _color_html_alter(&$vars) {
- global $language, $theme_key;
+ global $theme_key;
$themes = list_themes();
// Override stylesheets.
@@ -102,7 +102,7 @@ function _color_html_alter(&$vars) {
* Callback for the theme to alter the resources used.
*/
function _color_page_alter(&$vars) {
- global $language, $theme_key;
+ global $theme_key;
// Override logo.
$logo = variable_get('color_' . $theme_key . '_logo');