Sfoglia il codice sorgente

Undo change in suspend Method

Tobiletsmc 3 anni fa
parent
commit
7ff3540ad8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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();
         }