Skip to content

Commit

Permalink
Remove unused NewIdentityServiceV2
Browse files Browse the repository at this point in the history
Includes gravitational/teleport.e#5832
which removed the last invocations of the V2 function.
  • Loading branch information
rosstimothy committed Jan 13, 2025
1 parent 646329d commit 6fbc610
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion e
Submodule e updated from 65fa47 to 6831bf
6 changes: 0 additions & 6 deletions lib/services/local/users.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,6 @@ type IdentityService struct {
notificationsSvc *NotificationsService
}

// TODO(tross): DELETE ONCE e is updated to use NewIdentityService
// NewIdentityServiceV2 returns a new instance of IdentityService object
func NewIdentityServiceV2(backend backend.Backend) (*IdentityService, error) {
return NewIdentityService(backend)
}

// NewIdentityService returns a new instance of IdentityService object
func NewIdentityService(backend backend.Backend) (*IdentityService, error) {
notificationsSvc, err := NewNotificationsService(backend, backend.Clock())
Expand Down

0 comments on commit 6fbc610

Please sign in to comment.