summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_user.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-02-23 18:08:59 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-02-23 18:08:59 +0000
commit83f88b3c9dd0b4fac0eb27c7d24c97a7140413aa (patch)
tree320ee0e1213f4b62ffffbc7ec12dae89f520a4a8 /roundcubemail/program/include/rcube_user.php
parent907c2413ca662a0152670503116a11dcab46e819 (diff)
- remove redundant check
git-svn-id: https://svn.roundcube.net/trunk@3285 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_user.php')
-rw-r--r--roundcubemail/program/include/rcube_user.php3
1 files changed, 0 insertions, 3 deletions
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",