%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/pn/beta/64801_wp-content/plugins/mailpoet/lib/Util/License/Features/
Upload File :
Create Path :
Current File : //var/www/pn/beta/64801_wp-content/plugins/mailpoet/lib/Util/License/Features/Subscribers.php

<?php
namespace MailPoet\Util\License\Features;

use MailPoet\Models\Subscriber as SubscriberModel;
use MailPoet\Util\License\License;

class Subscribers {
  public $license;
  const SUBSCRIBERS_LIMIT = 2000;

  function __construct($license = false) {
    $this->license = ($license) ? $license : License::getLicense();
  }

  function check($subscribers_limit = self::SUBSCRIBERS_LIMIT) {
    if($this->license) return false;
    return SubscriberModel::getTotalSubscribers() > $subscribers_limit;
  }
}

Zerion Mini Shell 1.0