From 6a31558dd88105b5191fb025d822d8514832ec2d Mon Sep 17 00:00:00 2001 From: alecpl Date: Tue, 23 Feb 2010 18:08:59 +0000 Subject: - remove redundant check --- program/include/rcube_user.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'program/include') diff --git a/program/include/rcube_user.php b/program/include/rcube_user.php index 41a8bb531..a5294f552 100644 --- a/program/include/rcube_user.php +++ b/program/include/rcube_user.php @@ -246,9 +246,6 @@ class rcube_user 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", -- cgit v1.2.3