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>2019-10-18 19:39:48 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-10-18 19:39:48 +0300
commit8585882b8f61227bedc30ced9be07b879793af47 (patch)
tree8437185f49da015d0f7df848c66fb61db144a446 /lib/Account.php
parent1e2521a23ada7d9ba630accb25dfa1965c1cb126 (diff)
Deprecate account IMAP connection method
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Account.php')
-rw-r--r--lib/Account.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Account.php b/lib/Account.php
index 67295b639..42ddc9edb 100644
--- a/lib/Account.php
+++ b/lib/Account.php
@@ -113,6 +113,7 @@ class Account implements JsonSerializable {
}
/**
+ * @deprecated use \OCA\Mail\IMAP\IMAPClientFactory instead
* @return Horde_Imap_Client_Socket
*/
public function getImapConnection() {
@@ -193,6 +194,9 @@ class Account implements JsonSerializable {
return $this->account->getEmail();
}
+ /**
+ * @deprecated
+ */
public function testConnectivity(Horde_Mail_Transport $transport) {
// connect to imap
$this->getImapConnection();