From 83f88b3c9dd0b4fac0eb27c7d24c97a7140413aa Mon Sep 17 00:00:00 2001 From: alec Date: Tue, 23 Feb 2010 18:08:59 +0000 Subject: - remove redundant check git-svn-id: https://svn.roundcube.net/trunk@3285 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_user.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'roundcubemail/program/include') diff --git a/roundcubemail/program/include/rcube_user.php b/roundcubemail/program/include/rcube_user.php index 41a8bb531..a5294f552 100644 --- a/roundcubemail/program/include/rcube_user.php +++ b/roundcubemail/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