From 466facc0097bf636b6a945a0daebb7c4c5c33c91 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 17 Mar 2015 21:51:39 -0400 Subject: #1067: Deleting users should remove them from collaborator lists - fix delete user but repository watches are not decreased --- modules/mailer/mail.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/mailer/mail.go b/modules/mailer/mail.go index ae8ce653..9ed338ab 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 } -- cgit v1.2.3