Mark Subscriber::getTotalSubscribers as deprecated
[MAILPOET-3143]
This commit is contained in:
committed by
Veljko V
parent
bdb6477b4b
commit
952accc9d6
@ -493,6 +493,9 @@ class Subscriber extends Model {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use MailPoet\Util\License\Features\Subscribers::getSubscribersCount or \MailPoet\Subscribers\SubscribersRepository::getTotalSubscribers
|
||||
*/
|
||||
public static function getTotalSubscribers() {
|
||||
return self::whereIn('status', [
|
||||
self::STATUS_SUBSCRIBED,
|
||||
|
Reference in New Issue
Block a user