aboutsummaryrefslogtreecommitdiff
path: root/internal/route/repo/setting.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/route/repo/setting.go')
-rw-r--r--internal/route/repo/setting.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/route/repo/setting.go b/internal/route/repo/setting.go
index d3cc46bc..e1049cca 100644
--- a/internal/route/repo/setting.go
+++ b/internal/route/repo/setting.go
@@ -19,7 +19,7 @@ import (
"gogs.io/gogs/internal/db"
"gogs.io/gogs/internal/db/errors"
"gogs.io/gogs/internal/form"
- "gogs.io/gogs/internal/mailer"
+ "gogs.io/gogs/internal/email"
"gogs.io/gogs/internal/tool"
)
@@ -399,7 +399,7 @@ func SettingsCollaborationPost(c *context.Context) {
}
if conf.Service.EnableNotifyMail {
- mailer.SendCollaboratorMail(db.NewMailerUser(u), db.NewMailerUser(c.User), db.NewMailerRepo(c.Repo.Repository))
+ email.SendCollaboratorMail(db.NewMailerUser(u), db.NewMailerUser(c.User), db.NewMailerRepo(c.Repo.Repository))
}
c.Flash.Success(c.Tr("repo.settings.add_collaborator_success"))