Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
quota-clone: Move state tracking to user context
This way there's no need to do multiple flushes when e.g. multiple mailboxes change. The flush had to be removed from close(), because the code path recurses: * mailbox_transaction_commit() when mail is saved * quota_count() starts counting the quota, which opens and closes mailbox * quota_clone_mailbox_close() attempts to flush quota, which again recurses into quota_count(), which returns 0 for the quota value. Based on patch by Michael Slusarz
- Loading branch information
Showing
1 changed file
with
59 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters