From 18b40c1a3214518764e99f69b581bd7c90426091 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 4 Dec 2013 13:58:43 +0100 Subject: Fix issue where groups were not deleted when "Replace entire addressbook" option on contacts import was used (#1489420) --- program/lib/Roundcube/rcube_addressbook.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'program/lib/Roundcube/rcube_addressbook.php') 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 */ } -- cgit v1.2.3