Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2017-08-23 12:19:34 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2017-08-23 12:19:34 +0300
commit1ba754539d09ccec7c30856375f956f51b9395a2 (patch)
tree6ed082761ee0879f78231008ab0e8537498aed06 /lib/Account.php
parenta07505f4685e65202680f7356ecfc4739fe6aad0 (diff)
parentc819e38012f8740cd0d9abc6abb7696b701cd23a (diff)
Merge branch 'master' of github.com:/nextcloud/mail into refactor/background-sync
Diffstat (limited to 'lib/Account.php')
-rw-r--r--lib/Account.php18
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();
}
/**