diff options
author | GretaD <gretadoci@gmail.com> | 2020-03-06 18:50:26 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-08-10 13:58:52 +0300 |
commit | a543bbcd4bd22182dd1340353854229a6f0589e9 (patch) | |
tree | 2210c286f8395384a452e965c1d54bbc7b84d527 /lib/Contracts | |
parent | 424624f24d864b372275f2938c6ab7bb17fd673c (diff) |
Add delete action for folders
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 f77018fd8..b19eaf2d8 100644 --- a/lib/Contracts/IMailManager.php +++ b/lib/Contracts/IMailManager.php @@ -142,4 +142,12 @@ interface IMailManager { * @return Quota|null */ public function getQuota(Account $account): ?Quota; + + /** + * @param Account $account + * @param string $folderId + * + * @throws ServiceException + */ + public function deleteMailbox(Account $account, string $folderId): void; } |