[GH-ISSUE #231] Wrong mailbox count after restoring archive #184

Closed
opened 2026-02-26 09:36:34 +03:00 by kerem · 0 comments
Owner

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.

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.
kerem closed this issue 2026-02-26 09:36:34 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ViMbAdmin-opensolutions#184
No description provided.