From 8fcc64ee43a90bca8c60b4a37d25b7bfed4fa3a0 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Tue, 21 Feb 2006 16:06:02 +0000
Subject: [PATCH] - Patch #48235 by markus: removed dead code.

---
 modules/watchdog.module          | 6 ------
 modules/watchdog/watchdog.module | 6 ------
 2 files changed, 12 deletions(-)

diff --git a/modules/watchdog.module b/modules/watchdog.module
index 32ffb4f69776..2411b5ae4872 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 32ffb4f69776..2411b5ae4872 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;
 }
-
-
-- 
GitLab