refactor(team): update serverOverflow to use static serverLimit
This commit is contained in:
parent
e37cb98c7c
commit
520e048ed5
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ public function subscriptionPastOverDue()
|
|||
|
||||
public function serverOverflow()
|
||||
{
|
||||
if ($this->serverLimit() < $this->servers->count()) {
|
||||
if (Team::serverLimit($this) < $this->servers->count()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue