From 30acded3449ccd834ff07f68137a8181a4109449 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Sun, 22 Jan 2006 07:43:19 +0000 Subject: [PATCH] - Patch #45697 by fgm: removed some useless global. --- modules/search.module | 1 - modules/search/search.module | 1 - 2 files changed, 2 deletions(-) diff --git a/modules/search.module b/modules/search.module index 42c658123cd0..d1c94a207bc6 100644 --- a/modules/search.module +++ b/modules/search.module @@ -133,7 +133,6 @@ function search_perm() { * Implementation of hook_block(). */ function search_block($op = 'list', $delta = 0) { - global $user; if ($op == 'list') { $blocks[0]['info'] = t('Search form'); return $blocks; diff --git a/modules/search/search.module b/modules/search/search.module index 42c658123cd0..d1c94a207bc6 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -133,7 +133,6 @@ function search_perm() { * Implementation of hook_block(). */ function search_block($op = 'list', $delta = 0) { - global $user; if ($op == 'list') { $blocks[0]['info'] = t('Search form'); return $blocks; -- GitLab