mirror of
https://github.com/opensolutions/ViMbAdmin.git
synced 2026-04-26 00:36:00 +03:00
[GH-ISSUE #231] Wrong mailbox count after restoring archive #184
Labels
No labels
bug
feature
feature
improvement
improvement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ViMbAdmin-opensolutions#184
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rfhsorna on GitHub (Jul 20, 2017).
Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/231
After restoring an archived mailbox, the mailbox counter for the associated domain is not raised.
I added the following code in application/controllers/ArchiveController.php on line 479:
$data['mailbox']->getDomain()->setMailboxCount( $data['mailbox']->getDomain()->getMailboxCount() + 1 );
Would be good, if this could be fixed proper way.