mirror of
https://github.com/go-gitea/gitea
synced 2025-01-07 06:56:00 +01:00
remove note
because I'll implement this in a different way and in another PR
This commit is contained in:
parent
318657f990
commit
a06fdb4755
@ -74,11 +74,6 @@ func getIssueWatchers(e Engine, issueID int64) (watches IssueWatchList, err erro
|
|||||||
And("`user`.prohibit_login = ?", false).
|
And("`user`.prohibit_login = ?", false).
|
||||||
Join("INNER", "`user`", "`user`.id = `issue_watch`.user_id").
|
Join("INNER", "`user`", "`user`.id = `issue_watch`.user_id").
|
||||||
Find(&watches)
|
Find(&watches)
|
||||||
// handle default watchers (repowatchers)
|
|
||||||
// SELECT x.user_id as repowatchers FROM (SELECT watch.user_id FROM issue,watch WHERE issue.repo_id = watch.repo_id AND issue.id = 71) as x LEFT JOIN (SELECT user_id FROM issue_watch WHERE is_watching = 0) as y ON x.user_id = y.user_id WHERE y.user_id IS NULL;
|
|
||||||
// returns list of userIDs
|
|
||||||
|
|
||||||
//watches = append(watches)
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user