aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mailer/mail.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-03-17 21:51:39 -0400
committerUnknwon <u@gogs.io>2015-03-17 21:51:39 -0400
commit466facc0097bf636b6a945a0daebb7c4c5c33c91 (patch)
tree614c2782ff5b59dd40cea9a9caadb93d46570258 /modules/mailer/mail.go
parent33894591a6d391674e938d018801d88d0011f0b7 (diff)
downloadgitea-466facc0097bf636b6a945a0daebb7c4c5c33c91.tar.gz
gitea-466facc0097bf636b6a945a0daebb7c4c5c33c91.zip
#1067: Deleting users should remove them from collaborator lists
- fix delete user but repository watches are not decreased
Diffstat (limited to 'modules/mailer/mail.go')
-rw-r--r--modules/mailer/mail.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mailer/mail.go b/modules/mailer/mail.go
index ae8ce6531a..9ed338ab20 100644
--- a/modules/mailer/mail.go
+++ b/modules/mailer/mail.go
@@ -163,7 +163,7 @@ func SendIssueNotifyMail(u, owner *models.User, repo *models.Repository, issue *
tos := make([]string, 0, len(ws))
for i := range ws {
- uid := ws[i].UserId
+ uid := ws[i].UserID
if u.Id == uid {
continue
}