Revert "FIX: getIssueWatchers() get only aktive suscriber"

This reverts commit 5eca929185.
This commit is contained in:
6543 2019-10-29 19:31:48 +01:00
parent e8bb5572a0
commit 2ca4a7e49e
No known key found for this signature in database
GPG Key ID: A1CA74D27FD13271
1 changed files with 0 additions and 1 deletions

View File

@ -65,7 +65,6 @@ func GetIssueWatchers(issueID int64) ([]*IssueWatch, error) {
func getIssueWatchers(e Engine, issueID int64) (watches []*IssueWatch, err error) {
err = e.
Where("`issue_watch`.issue_id = ?", issueID).
And("`issue_watch`.is_watching > ?", 0).
And("`user`.is_active = ?", true).
And("`user`.prohibit_login = ?", false).
Join("INNER", "`user`", "`user`.id = `issue_watch`.user_id").