From 6a31558dd88105b5191fb025d822d8514832ec2d Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Tue, 23 Feb 2010 13:08:59 -0500
Subject: [PATCH] - remove redundant check

---
 program/include/rcube_user.php |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/program/include/rcube_user.php b/program/include/rcube_user.php
index 41a8bb5..a5294f5 100644
--- a/program/include/rcube_user.php
+++ b/program/include/rcube_user.php
@@ -246,9 +246,6 @@
     if (!$this->ID)
       return false;
 
-    if (!$this->ID || $this->ID == '')
-      return false;
-
     $sql_result = $this->db->query("SELECT count(*) AS ident_count FROM " .
       get_table_name('identities') .
       " WHERE user_id = ? AND del <> 1",

--
Gitblit v1.9.1