]> BookStack Code Mirror - bookstack/commitdiff
Removed unused function in registration service
authorDan Brown <redacted>
Sat, 2 May 2020 00:07:30 +0000 (01:07 +0100)
committerDan Brown <redacted>
Sat, 2 May 2020 00:07:30 +0000 (01:07 +0100)
app/Auth/Access/RegistrationService.php

index 8cf76013a40c1ed04254ca07bb3443ef709e2db4..9136b37b5a86ea49f1f0a8ccaac27b1fd25eb27d 100644 (file)
@@ -106,13 +106,4 @@ class RegistrationService
         }
     }
 
-    /**
-     * Alias to the UserRepo method of the same name.
-     * Attaches the default system role, if configured, to the given user.
-     */
-    public function attachDefaultRole(User $user): void
-    {
-        $this->userRepo->attachDefaultRole($user);
-    }
-
 }
\ No newline at end of file