[GITEA] notifies admins on new user registration (squash) cosmetic changes

Co-authored-by: delvh <dev.lh@web.de>
(cherry picked from commit 9f1670e040)
This commit is contained in:
Earl Warren 2023-09-20 06:18:10 +02:00
commit de5bb2a224
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
9 changed files with 18 additions and 18 deletions

View file

@ -347,7 +347,7 @@ func RepoPendingTransfer(ctx context.Context, doer, newOwner *user_model.User, r
}
}
// NewUserSignUp notifies deletion of a package to notifiers
// NewUserSignUp notifies about a newly signed up user to notifiers
func NewUserSignUp(ctx context.Context, newUser *user_model.User) {
for _, notifier := range notifiers {
notifier.NewUserSignUp(ctx, newUser)