]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Imap/imapmanager.php
Better job making an ActivityObject from an <atom:author>
[quix0rs-gnu-social.git] / plugins / Imap / imapmanager.php
index 68b8b7d8742d1a97abd39b7c877abb1ac57c3639..a9e531e1ae60db4d67df7cdc7a02dbc9738596bb 100644 (file)
  * @link      http://status.net/
  */
 
+if (!defined('STATUSNET')) {
+    exit(1);
+}
+
 class ImapManager extends IoManager
 {
     protected $conn = null;
@@ -44,7 +48,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.'));
     }
 
     /**