X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FImap%2Fimapmanager.php;h=c49c060921faafd8dbfc1798a7c9e3eedc0888f7;hb=59119482ca34540bd7f0a2a1aa994de1d5328ea2;hp=4c0edeaa1d5cca3c0b21676553da22da8d4ce1fb;hpb=727ea5a5163249eb40fa0c4b2c63054fc997473b;p=quix0rs-gnu-social.git diff --git a/plugins/Imap/imapmanager.php b/plugins/Imap/imapmanager.php index 4c0edeaa1d..c49c060921 100644 --- a/plugins/Imap/imapmanager.php +++ b/plugins/Imap/imapmanager.php @@ -23,6 +23,8 @@ * @package StatusNet * @author Craig Andrews * @copyright 2009-2010 StatusNet, Inc. + * @copyright 2009 Free Software Foundation, Inc http://www.fsf.org + * @maintainer Craig Andrews * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ @@ -42,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 +94,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);