diff options
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/rcube_contacts.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/program/include/rcube_contacts.php b/program/include/rcube_contacts.php index a9d16149e..913f04fd3 100644 --- a/program/include/rcube_contacts.php +++ b/program/include/rcube_contacts.php @@ -393,13 +393,8 @@ class rcube_contacts */ function delete_all() { - if (is_array($ids)) - $ids = join(',', $ids); - - $this->db->query("DELETE FROM {$this->db_name} WHERE user_id=?", $this->user_id); + $this->db->query("DELETE FROM {$this->db_name} WHERE user_id=?", $this->user_id); return $this->db->affected_rows(); } } - - |