mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-07-20 01:54:30 +00:00
[Web] Fix maildir cleanup after deleting mailbox
This commit is contained in:
parent
800eebd117
commit
0d4e89e62b
1 changed files with 1 additions and 1 deletions
|
|
@ -3370,7 +3370,7 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
|
|||
continue;
|
||||
}
|
||||
$maildir = mailbox('get', 'mailbox_details', $username)['maildir'];
|
||||
$exec_fields = array('cmd' => 'maildir_cleanup', 'maildir' => $maildir);
|
||||
$exec_fields = array('cmd' => 'maildir', 'task' => 'cleanup', 'maildir' => $maildir);
|
||||
$maildir_gc = json_decode(docker('post', 'dovecot-mailcow', 'exec', $exec_fields), true);
|
||||
if ($maildir_gc['type'] != 'success') {
|
||||
$_SESSION['return'][] = array(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue