summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-02-23 18:08:59 +0000
committeralecpl <alec@alec.pl>2010-02-23 18:08:59 +0000
commit6a31558dd88105b5191fb025d822d8514832ec2d (patch)
tree03643f37d5e0605e41f1d463aa2502c281f97654 /program/include
parent1617dbb6a45ccd1fa6fc74ab6c47026804c7a1e0 (diff)
- remove redundant check
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_user.php3
1 files changed, 0 insertions, 3 deletions
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",