summaryrefslogtreecommitdiff
path: root/plugins/Imap/imapmanager.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-09-21 14:07:48 -0400
committerEvan Prodromou <evan@status.net>2010-09-21 14:07:48 -0400
commit78ed0348b0eaaebf7a51d55adc7e746cc5b43bbf (patch)
tree26545c5badcfcf54956f67d813c97b2f3eb3c84e /plugins/Imap/imapmanager.php
parentdffec9f223c1e45832d274c34f7bd6624cbf87ea (diff)
parentd342899677d208d7e300b29ad3a8d053e4c6f704 (diff)
Merge remote branch 'gitorious/0.9.x' into 0.9.x
Diffstat (limited to 'plugins/Imap/imapmanager.php')
-rw-r--r--plugins/Imap/imapmanager.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Imap/imapmanager.php b/plugins/Imap/imapmanager.php
index 0bbd42e78..e2f8c6d54 100644
--- a/plugins/Imap/imapmanager.php
+++ b/plugins/Imap/imapmanager.php
@@ -44,7 +44,7 @@ class ImapManager extends IoManager
*/
public static function get()
{
- throw new Exception('ImapManager should be created using it\'s constructor, not the static get method');
+ throw new Exception(_m('ImapManager should be created using its constructor, not the using the static get method.'));
}
/**
@@ -92,12 +92,12 @@ class ImapManager extends IoManager
{
return $this->check_mailbox() > 0;
}
-
+
function pollInterval()
{
return $this->plugin->poll_frequency;
}
-
+
protected function connect()
{
$this->conn = imap_open($this->plugin->mailbox, $this->plugin->user, $this->plugin->password);