forked from GNUsocial/gnu-social
Normalize execution guards in imap plugin files.
This commit is contained in:
parent
69b13cb279
commit
e23ad7392f
@ -17,7 +17,9 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
|
||||
if (!defined('STATUSNET')) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
class IMAPMailHandler extends MailHandler
|
||||
{
|
||||
|
@ -29,6 +29,10 @@
|
||||
* @link http://status.net/
|
||||
*/
|
||||
|
||||
if (!defined('STATUSNET')) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
class ImapManager extends IoManager
|
||||
{
|
||||
protected $conn = null;
|
||||
|
Loading…
Reference in New Issue
Block a user