From 360bd3ea740073b83817183581893681e13a8570 Mon Sep 17 00:00:00 2001 From: thomascube Date: Tue, 15 Feb 2011 21:00:48 +0000 Subject: Allow group identifiers to be changed upon renaming (used in LDAP) --- program/include/rcube_addressbook.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'program/include/rcube_addressbook.php') diff --git a/program/include/rcube_addressbook.php b/program/include/rcube_addressbook.php index d1b0f6281..9e8254ca4 100644 --- a/program/include/rcube_addressbook.php +++ b/program/include/rcube_addressbook.php @@ -310,9 +310,10 @@ abstract class rcube_addressbook * * @param string Group identifier * @param string New name to set for this group + * @param string New group identifier (if changed, otherwise don't set) * @return boolean New name on success, false if no data was changed */ - function rename_group($gid, $newname) + function rename_group($gid, $newname, &$newid) { /* empty for address books don't supporting groups */ return false; -- cgit v1.2.3