From: Brion Vibber Date: Fri, 8 Oct 2010 18:01:13 +0000 (-0700) Subject: Normalize execution guards in imap plugin files. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e23ad7392fa0a84a3cea2f50b0f96e4ba68a372b;p=quix0rs-gnu-social.git Normalize execution guards in imap plugin files. --- diff --git a/plugins/Imap/imapmailhandler.php b/plugins/Imap/imapmailhandler.php index 3d4b6113a9..92abf64747 100644 --- a/plugins/Imap/imapmailhandler.php +++ b/plugins/Imap/imapmailhandler.php @@ -17,7 +17,9 @@ * along with this program. If not, see . */ -if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } +if (!defined('STATUSNET')) { + exit(1); +} class IMAPMailHandler extends MailHandler { diff --git a/plugins/Imap/imapmanager.php b/plugins/Imap/imapmanager.php index e2f8c6d543..a9e531e1ae 100644 --- a/plugins/Imap/imapmanager.php +++ b/plugins/Imap/imapmanager.php @@ -29,6 +29,10 @@ * @link http://status.net/ */ +if (!defined('STATUSNET')) { + exit(1); +} + class ImapManager extends IoManager { protected $conn = null;