Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
30acded3
Commit
30acded3
authored
Jan 22, 2006
by
Dries Buytaert
Browse files
- Patch
#45697
by fgm: removed some useless global.
parent
542e6e0d
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/search.module
View file @
30acded3
...
...
@@ -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
;
...
...
modules/search/search.module
View file @
30acded3
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment