diff options
author | GretaD <gretadoci@gmail.com> | 2020-05-27 17:55:16 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-06-05 10:13:05 +0300 |
commit | 8742cb289de2e4003eef0a16b18d62afba8d8163 (patch) | |
tree | a08471700e7a8d4beb7a3a47cd4651dd7c9f3fee /lib/Contracts | |
parent | 23e4b121f1bc1ffac12863efa5bc254eace2a3ec (diff) |
Add quota for mail
Signed-off-by: GretaD <gretadoci@gmail.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Contracts')
-rw-r--r-- | lib/Contracts/IMailManager.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Contracts/IMailManager.php b/lib/Contracts/IMailManager.php index d8e839c2b..ed740a9cc 100644 --- a/lib/Contracts/IMailManager.php +++ b/lib/Contracts/IMailManager.php @@ -29,6 +29,7 @@ use OCA\Mail\Exception\ServiceException; use OCA\Mail\Folder; use OCA\Mail\IMAP\FolderStats; use OCA\Mail\Model\IMAPMessage; +use OCA\Mail\Service\Quota; interface IMailManager { @@ -126,4 +127,11 @@ interface IMailManager { * @throws ServiceException */ public function flagMessage(Account $account, string $mailbox, int $uid, string $flag, bool $value): void; + + /** + * @param Account $account + * + * @return Quota|null + */ + public function getQuota(Account $account): ?Quota; } |