diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-11-16 14:04:53 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-11-16 14:04:53 +0100 |
commit | 9e4246d9571481fe7b80227b1e23dc013771c5af (patch) | |
tree | a051a22d8ecda4a648adcfe11504648f57f60e2a /program/lib/Roundcube/rcube_contacts.php | |
parent | 07280e764357fe844c18beb9ada772956735b49e (diff) |
Code improvements and fixes (mostly unused variables and methods)
Diffstat (limited to 'program/lib/Roundcube/rcube_contacts.php')
-rw-r--r-- | program/lib/Roundcube/rcube_contacts.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/lib/Roundcube/rcube_contacts.php b/program/lib/Roundcube/rcube_contacts.php index bd3a3f82b..6ac9fd5de 100644 --- a/program/lib/Roundcube/rcube_contacts.php +++ b/program/lib/Roundcube/rcube_contacts.php @@ -909,7 +909,7 @@ class rcube_contacts extends rcube_addressbook $name, $gid, $this->user_id ); - return $this->db->affected_rows() ? $name : false; + return $this->db->affected_rows($sql_result) ? $name : false; } @@ -983,7 +983,7 @@ class rcube_contacts extends rcube_addressbook $group_id ); - return $this->db->affected_rows(); + return $this->db->affected_rows($sql_result); } |