From e190d37a300d93741ba9e7c31c39353d64986c01 Mon Sep 17 00:00:00 2001 From: thomasb Date: Wed, 11 Apr 2012 12:52:51 +0000 Subject: Allow mass-removal of addresses from a group (#1487748) git-svn-id: https://svn.roundcube.net/trunk@6059 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/addressbook/groups.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'roundcubemail/program/steps') diff --git a/roundcubemail/program/steps/addressbook/groups.inc b/roundcubemail/program/steps/addressbook/groups.inc index 415cd0766..3bdd89fa7 100644 --- a/roundcubemail/program/steps/addressbook/groups.inc +++ b/roundcubemail/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