Browse Source

Undo change in suspend Method

Tobiletsmc 3 years ago
parent
commit
7ff3540ad8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Models/User.php

+ 1 - 1
app/Models/User.php

@@ -179,7 +179,7 @@ class User extends Authenticatable implements MustVerifyEmail
      */
     public function suspend()
     {
-        foreach ($this->servers() as $server) {
+        foreach ($this->servers as $server) {
             $server->suspend();
         }