Remove no longer necessary checks
[MAILPOET-1948]
This commit is contained in:
committed by
Jack Kitterhing
parent
1f219d1eba
commit
01a0fe96c4
@@ -6,8 +6,6 @@ use MailPoet\Models\Newsletter as NewsletterModel;
|
||||
use MailPoet\WP\Functions as WPFunctions;
|
||||
use MailPoet\WP\Posts as WPPosts;
|
||||
|
||||
if (!defined('ABSPATH')) exit;
|
||||
|
||||
class Newsletter {
|
||||
static function process(
|
||||
$shortcode_details,
|
||||
|
@@ -5,8 +5,6 @@ use MailPoet\Models\Subscriber as SubscriberModel;
|
||||
use MailPoet\Models\SubscriberCustomField;
|
||||
use MailPoet\WP\Functions as WPFunctions;
|
||||
|
||||
if (!defined('ABSPATH')) exit;
|
||||
|
||||
class Subscriber {
|
||||
/**
|
||||
* @param \MailPoet\Models\Subscriber|false|mixed $subscriber
|
||||
|
Reference in New Issue
Block a user