summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/watchdog.module6
-rw-r--r--modules/watchdog/watchdog.module6
2 files changed, 0 insertions, 12 deletions
diff --git a/modules/watchdog.module b/modules/watchdog.module
index 32ffb4f69..2411b5ae4 100644
--- a/modules/watchdog.module
+++ b/modules/watchdog.module
@@ -79,10 +79,6 @@ function watchdog_overview() {
$_SESSION['watchdog_overview_filter'] = 'all';
}
- if (empty($_SESSION['watchdog_overview_filter'])) {
- $_SESSION['watchdog_overview_filter'] = 'all';
- }
-
$form['filter'] = array(
'#type' => 'select',
'#title' => t('Filter by message type'),
@@ -187,5 +183,3 @@ function _watchdog_get_message_types() {
return $types;
}
-
-
diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module
index 32ffb4f69..2411b5ae4 100644
--- a/modules/watchdog/watchdog.module
+++ b/modules/watchdog/watchdog.module
@@ -79,10 +79,6 @@ function watchdog_overview() {
$_SESSION['watchdog_overview_filter'] = 'all';
}
- if (empty($_SESSION['watchdog_overview_filter'])) {
- $_SESSION['watchdog_overview_filter'] = 'all';
- }
-
$form['filter'] = array(
'#type' => 'select',
'#title' => t('Filter by message type'),
@@ -187,5 +183,3 @@ function _watchdog_get_message_types() {
return $types;
}
-
-