summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_addressbook.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-04-30 19:28:07 +0200
committerAleksander Machniak <alec@alec.pl>2013-04-30 19:29:00 +0200
commit54c6d6a9433061577a7e4cf79234c788d4eb88cf (patch)
tree1180cf9ec78b3e6fe368e4c083c7cfe4a5df03c6 /program/lib/Roundcube/rcube_addressbook.php
parent410a4c663e10b10e48bf3d09d4a100e43ce1e12a (diff)
Fix removal of a contact from a group in LDAP addressbook (#1489081)
Conflicts: CHANGELOG
Diffstat (limited to 'program/lib/Roundcube/rcube_addressbook.php')
-rw-r--r--program/lib/Roundcube/rcube_addressbook.php14
1 files changed, 8 insertions, 6 deletions
diff --git a/program/lib/Roundcube/rcube_addressbook.php b/program/lib/Roundcube/rcube_addressbook.php
index cbc3c6773..5fbcb72af 100644
--- a/program/lib/Roundcube/rcube_addressbook.php
+++ b/program/lib/Roundcube/rcube_addressbook.php
@@ -370,9 +370,10 @@ abstract class rcube_addressbook
/**
* Add the given contact records the a certain group
*
- * @param string Group identifier
- * @param array List of contact identifiers to be added
- * @return int Number of contacts added
+ * @param string Group identifier
+ * @param array|string List of contact identifiers to be added
+ *
+ * @return int Number of contacts added
*/
function add_to_group($group_id, $ids)
{
@@ -383,9 +384,10 @@ abstract class rcube_addressbook
/**
* Remove the given contact records from a certain group
*
- * @param string Group identifier
- * @param array List of contact identifiers to be removed
- * @return int Number of deleted group members
+ * @param string Group identifier
+ * @param array|string List of contact identifiers to be removed
+ *
+ * @return int Number of deleted group members
*/
function remove_from_group($group_id, $ids)
{