Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
8fcc64ee
Commit
8fcc64ee
authored
Feb 21, 2006
by
Dries
Browse files
- Patch
#48235
by markus: removed dead code.
parent
5298688d
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/watchdog.module
View file @
8fcc64ee
...
@@ -79,10 +79,6 @@ function watchdog_overview() {
...
@@ -79,10 +79,6 @@ function watchdog_overview() {
$_SESSION
[
'watchdog_overview_filter'
]
=
'all'
;
$_SESSION
[
'watchdog_overview_filter'
]
=
'all'
;
}
}
if
(
empty
(
$_SESSION
[
'watchdog_overview_filter'
]))
{
$_SESSION
[
'watchdog_overview_filter'
]
=
'all'
;
}
$form
[
'filter'
]
=
array
(
$form
[
'filter'
]
=
array
(
'#type'
=>
'select'
,
'#type'
=>
'select'
,
'#title'
=>
t
(
'Filter by message type'
),
'#title'
=>
t
(
'Filter by message type'
),
...
@@ -187,5 +183,3 @@ function _watchdog_get_message_types() {
...
@@ -187,5 +183,3 @@ function _watchdog_get_message_types() {
return
$types
;
return
$types
;
}
}
modules/watchdog/watchdog.module
View file @
8fcc64ee
...
@@ -79,10 +79,6 @@ function watchdog_overview() {
...
@@ -79,10 +79,6 @@ function watchdog_overview() {
$_SESSION
[
'watchdog_overview_filter'
]
=
'all'
;
$_SESSION
[
'watchdog_overview_filter'
]
=
'all'
;
}
}
if
(
empty
(
$_SESSION
[
'watchdog_overview_filter'
]))
{
$_SESSION
[
'watchdog_overview_filter'
]
=
'all'
;
}
$form
[
'filter'
]
=
array
(
$form
[
'filter'
]
=
array
(
'#type'
=>
'select'
,
'#type'
=>
'select'
,
'#title'
=>
t
(
'Filter by message type'
),
'#title'
=>
t
(
'Filter by message type'
),
...
@@ -187,5 +183,3 @@ function _watchdog_get_message_types() {
...
@@ -187,5 +183,3 @@ function _watchdog_get_message_types() {
return
$types
;
return
$types
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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