mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 22:17:19 +00:00
refactor(team): update serverOverflow to use static serverLimit
This commit is contained in:
1 parent
e37cb98c7c
commit
520e048ed5
1 file changed
+1
-1
+1
-1
@@ -112,7 +112,7 @@ class Team extends Model implements SendsDiscord, SendsEmail, SendsPushover, Sen
|
|||||||
|
|
||||||
public function serverOverflow()
|
public function serverOverflow()
|
||||||
{
|
{
|
||||||
if ($this->serverLimit() < $this->servers->count()) {
|
if (Team::serverLimit($this) < $this->servers->count()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user