summaryrefslogtreecommitdiff
path: root/program/steps/addressbook/groups.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-04-11 12:52:51 +0000
committerthomascube <thomas@roundcube.net>2012-04-11 12:52:51 +0000
commit1ba07f070998d32d115d90d0d73db2dca59c4690 (patch)
treeef33699e9788f5e068e24082397722803fcf907e /program/steps/addressbook/groups.inc
parent21a0d919380dd56d0c051cfb8570f3e181c34a18 (diff)
Allow mass-removal of addresses from a group (#1487748)
Diffstat (limited to 'program/steps/addressbook/groups.inc')
-rw-r--r--program/steps/addressbook/groups.inc6
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');
+ }
}
}