diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-08-11 20:52:39 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-08-11 21:37:22 +0300 |
commit | f973d977c9967e2c86215cf539468c9475e22d35 (patch) | |
tree | 6fb0e3506de533d3dbf2aa8ef63de3da0847956c /lib/Contracts | |
parent | 4f218589c120ebbf904715a2eb064f2a675422c1 (diff) |
Move some usage of the old Folder to the more versatile Mailbox
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Contracts')
-rw-r--r-- | lib/Contracts/IMailManager.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Contracts/IMailManager.php b/lib/Contracts/IMailManager.php index b19eaf2d8..553aea52b 100644 --- a/lib/Contracts/IMailManager.php +++ b/lib/Contracts/IMailManager.php @@ -24,6 +24,7 @@ declare(strict_types=1); namespace OCA\Mail\Contracts; use OCA\Mail\Account; +use OCA\Mail\Db\Mailbox; use OCA\Mail\Exception\ClientException; use OCA\Mail\Exception\ServiceException; use OCA\Mail\Folder; @@ -36,11 +37,11 @@ interface IMailManager { /** * @param Account $account * - * @return Folder[] + * @return Mailbox[] * * @throws ServiceException */ - public function getFolders(Account $account): array; + public function getMailboxes(Account $account): array; /** * @param Account $account |