diff options
Diffstat (limited to 'lib/Controller/MessagesController.php')
-rwxr-xr-x | lib/Controller/MessagesController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/MessagesController.php b/lib/Controller/MessagesController.php index 94dce68da..04fcac35d 100755 --- a/lib/Controller/MessagesController.php +++ b/lib/Controller/MessagesController.php @@ -340,7 +340,7 @@ class MessagesController extends Controller { $this->logger->debug("deleting message <$id> of folder <$folderId>, account <$accountId>"); try { $account = $this->getAccount($accountId); - $account->deleteMessage(base64_decode($folderId), $id); + $this->mailManager->deleteMessage($account, base64_decode($folderId), $id); return new JSONResponse(); } catch (DoesNotExistException $e) { $this->logger->error("could not delete message <$id> of folder <$folderId>, " |