1
0
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:
FreddleSpl0it
2026-06-11 09:55:32 +02:00
parent d455555621
commit 277a307fb9
+4 -5
View File
@@ -3502,10 +3502,10 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
'msg' => array('mailbox_modified', $username)
);
// Track affected mailboxes for SOGo update
$update_sogo_mailboxes[] = $username;
}
break;
// Track affected mailboxes for SOGo update
$update_sogo_mailboxes[] = $username;
}
break;
case 'mailbox_rename':
$domain = $_data['domain'];
$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
$update_sogo_mailboxes[] = $username;
}
return true;
break;
case 'mailbox_templates':
if ($_SESSION['mailcow_cc_role'] != "admin") {