From 4fdd4bc92d9d77d0decf71ece5c14412d563d9b7 Mon Sep 17 00:00:00 2001 From: kurund Date: Mon, 18 May 2015 12:05:53 +0530 Subject: [PATCH] CRM-15629, more cleanup ---------------------------------------- * CRM-15629: Paypal IPN not working on Wordpress the first time https://issues.civicrm.org/jira/browse/CRM-15629 --- CRM/Core/Permission/WordPress.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CRM/Core/Permission/WordPress.php b/CRM/Core/Permission/WordPress.php index 8c5e6cf57c..8f7df4a9aa 100644 --- a/CRM/Core/Permission/WordPress.php +++ b/CRM/Core/Permission/WordPress.php @@ -62,10 +62,6 @@ class CRM_Core_Permission_WordPress extends CRM_Core_Permission_Base { // During some extern/* calls we don't bootstrap CMS hence // below constants are not set. In such cases, we don't need to // check permission, hence directly return TRUE - if (!defined('ABSPATH') || !defined('WPINC')) { - return TRUE; - } - if (!defined(ABSPATH) || !defined(WPINC)) { require_once 'CRM/Utils/System.php'; CRM_Utils_System::loadBootStrap(); -- 2.25.1