Commit 8fcc64ee authored by Dries's avatar Dries
Browse files

- Patch #48235 by markus: removed dead code.

parent 5298688d
...@@ -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;
} }
...@@ -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;
} }
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