From 1ba07f070998d32d115d90d0d73db2dca59c4690 Mon Sep 17 00:00:00 2001 From: thomascube Date: Wed, 11 Apr 2012 12:52:51 +0000 Subject: Allow mass-removal of addresses from a group (#1487748) --- program/steps/addressbook/groups.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'program/steps/addressbook/groups.inc') diff --git a/program/steps/addressbook/groups.inc b/program/steps/addressbook/groups.inc index 415cd0766..3bdd89fa7 100644 --- a/program/steps/addressbook/groups.inc +++ b/program/steps/addressbook/groups.inc @@ -64,10 +64,12 @@ else if ($RCMAIL->action == 'group-delmembers') { else $result = $plugin['result']; - if ($result) + if ($result){ $OUTPUT->show_message('contactremovedfromgroup'); - else + $OUTPUT->command('remove_group_contacts',array('source' => $source, 'gid' => $gid)); + }else{ $OUTPUT->show_message($plugin['message'] ? $plugin['message'] : 'errorsaving', 'error'); + } } } -- cgit v1.2.3