diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-12-04 13:58:43 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-12-04 13:58:43 +0100 |
commit | 18b40c1a3214518764e99f69b581bd7c90426091 (patch) | |
tree | be9eccab3b06c0b01fd6fb590c9320a5e1afc5d9 /program/lib/Roundcube/rcube_addressbook.php | |
parent | e71ceb0c98b33409af5978f0f33c6c95148bd86b (diff) |
Fix issue where groups were not deleted when "Replace entire addressbook" option on contacts import was used (#1489420)
Diffstat (limited to 'program/lib/Roundcube/rcube_addressbook.php')
-rw-r--r-- | program/lib/Roundcube/rcube_addressbook.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_addressbook.php b/program/lib/Roundcube/rcube_addressbook.php index 886f65cb9..ed6ffcd28 100644 --- a/program/lib/Roundcube/rcube_addressbook.php +++ b/program/lib/Roundcube/rcube_addressbook.php @@ -311,8 +311,10 @@ abstract class rcube_addressbook /** * Mark all records in database as deleted + * + * @param bool $with_groups Remove also groups */ - function delete_all() + function delete_all($with_groups = false) { /* empty for read-only address books */ } |