mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-06-14 18:40:23 +00:00
[Web] Fix refresh SOGo view on mailbox deletion
This commit is contained in:
@@ -3502,10 +3502,10 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
|
|||||||
'msg' => array('mailbox_modified', $username)
|
'msg' => array('mailbox_modified', $username)
|
||||||
);
|
);
|
||||||
|
|
||||||
// Track affected mailboxes for SOGo update
|
// Track affected mailboxes for SOGo update
|
||||||
$update_sogo_mailboxes[] = $username;
|
$update_sogo_mailboxes[] = $username;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'mailbox_rename':
|
case 'mailbox_rename':
|
||||||
$domain = $_data['domain'];
|
$domain = $_data['domain'];
|
||||||
$old_local_part = $_data['old_local_part'];
|
$old_local_part = $_data['old_local_part'];
|
||||||
@@ -6126,7 +6126,6 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
|
|||||||
// Track affected mailboxes for SOGo update
|
// Track affected mailboxes for SOGo update
|
||||||
$update_sogo_mailboxes[] = $username;
|
$update_sogo_mailboxes[] = $username;
|
||||||
}
|
}
|
||||||
return true;
|
|
||||||
break;
|
break;
|
||||||
case 'mailbox_templates':
|
case 'mailbox_templates':
|
||||||
if ($_SESSION['mailcow_cc_role'] != "admin") {
|
if ($_SESSION['mailcow_cc_role'] != "admin") {
|
||||||
|
|||||||
Reference in New Issue
Block a user