mirror of
https://github.com/v2board/v2board.git
synced 2025-06-16 06:37:53 +08:00
update: new auth
This commit is contained in:
@ -19,7 +19,7 @@ class PlanService
|
||||
{
|
||||
if ($this->plan->capacity_limit === NULL) return true;
|
||||
$count = User::where('plan_id', $this->plan->plan_id)->count();
|
||||
return $this->plan->capacity_limit - $count;
|
||||
return ($this->plan->capacity_limit - $count) > 0;
|
||||
}
|
||||
|
||||
public static function countActiveUsers()
|
||||
|
Reference in New Issue
Block a user