- Patch #45697 by fgm: removed some useless global.

4.7.x
Dries Buytaert 2006-01-22 07:43:19 +00:00
parent 542e6e0d22
commit 30acded344
2 changed files with 0 additions and 2 deletions

View File

@ -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;

View File

@ -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;