Subscribers limit
- added "limit.html" template - subscribers_limit set in Env class
This commit is contained in:
@ -624,6 +624,13 @@ class Subscriber extends Model {
|
||||
);
|
||||
}
|
||||
|
||||
static function getTotalSubscribers() {
|
||||
return self::whereIn('status', array(
|
||||
self::STATUS_SUBSCRIBED,
|
||||
self::STATUS_UNCONFIRMED
|
||||
))->count();
|
||||
}
|
||||
|
||||
static function bulkTrash($orm) {
|
||||
$count = parent::bulkAction($orm, function($subscriber_ids) {
|
||||
self::rawExecute(join(' ', array(
|
||||
|
Reference in New Issue
Block a user