From f2b323e82ebd7ba78fc78c40d168daf0f7ec05e0 Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 15 May 2008 06:40:47 +0000 Subject: - fix #1485066 --- program/include/rcube_contacts.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'program/include') 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(); } } - - -- cgit v1.2.3