Browse Source

Undo change in suspend Method

Tobiletsmc 3 năm trước cách đây
mục cha
commit
7ff3540ad8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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();
         }