Commit 30acded3 authored by Dries's avatar Dries
Browse files

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

parent 542e6e0d
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment