diff options
author | thomascube <thomas@roundcube.net> | 2012-04-11 12:52:51 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2012-04-11 12:52:51 +0000 |
commit | 1ba07f070998d32d115d90d0d73db2dca59c4690 (patch) | |
tree | ef33699e9788f5e068e24082397722803fcf907e /program/steps | |
parent | 21a0d919380dd56d0c051cfb8570f3e181c34a18 (diff) |
Allow mass-removal of addresses from a group (#1487748)
Diffstat (limited to 'program/steps')
-rw-r--r-- | program/steps/addressbook/groups.inc | 6 |
1 files changed, 4 insertions, 2 deletions
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'); + } } } |