diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2017-08-23 12:19:34 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2017-08-23 12:19:34 +0300 |
commit | 1ba754539d09ccec7c30856375f956f51b9395a2 (patch) | |
tree | 6ed082761ee0879f78231008ab0e8537498aed06 /lib/Account.php | |
parent | a07505f4685e65202680f7356ecfc4739fe6aad0 (diff) | |
parent | c819e38012f8740cd0d9abc6abb7696b701cd23a (diff) |
Merge branch 'master' of github.com:/nextcloud/mail into refactor/background-sync
Diffstat (limited to 'lib/Account.php')
-rw-r--r-- | lib/Account.php | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/lib/Account.php b/lib/Account.php index f8aa1647b..0d0896b5b 100644 --- a/lib/Account.php +++ b/lib/Account.php @@ -354,7 +354,7 @@ class Account implements IAccount { * @return array */ public function jsonSerialize() { - throw new Exception('Not implemented'); + return $this->account->toJson(); } /** @@ -680,22 +680,6 @@ class Account implements IAccount { } /** - * @throws Horde_Imap_Client_Exception - */ - public function reconnect() { - $this->mailboxes = null; - if ($this->client) { - $this->client->close(); - $this->client = null; - } - $this->getImapConnection(); - } - - /** - * @return array - */ - public function getConfiguration() { - return $this->account->toJson(); } /** |