Commit 6c22ede4 authored by Marius Burkard's avatar Marius Burkard
Browse files

Merge branch '6190-mail-quota-doesn-t-update-on-backup-deletion' into 'develop'

Resolve "Mail Quota doesn't update on backup deletion"

Closes #6190

See merge request !1491
parents 3db98ba4 c3c9c984
Pipeline #9216 passed with stage
in 16 seconds
......@@ -126,7 +126,7 @@ class cronjob_backup_mail extends cronjob {
if ($rec['maildir_format'] == 'mdbox') {
if (empty($this->tmp_backup_dir)) $this->tmp_backup_dir = $rec['maildir'];
// Create temporary backup-mailbox
$app->system->exec_safe("su -c ?", 'dsync backup -u "'.$rec["email"].'" mdbox:' . $this->tmp_backup_dir . '/backup');
$app->system->exec_safe("su -c ?", 'dsync backup -o plugin/acl= -o plugin/quota= -u "'.$rec["email"].'" mdbox:' . $this->tmp_backup_dir . '/backup');
if($backup_mode == 'userzip') {
$mail_backup_file.='.zip';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment