- Updates subscriber limit check logic - Updates unit tests - Updates Menu's check for subscriber limit
13 lines
258 B
PHP
13 lines
258 B
PHP
<?php
|
|
namespace MailPoet\Util\License;
|
|
|
|
class License {
|
|
static function getLicense($license = false) {
|
|
if(!$license) {
|
|
$license = defined('MAILPOET_PREMIUM_LICENSE') ?
|
|
MAILPOET_PREMIUM_LICENSE :
|
|
false;
|
|
}
|
|
return $license;
|
|
}
|
|
} |