diff --git a/models/issue_watch.go b/models/issue_watch.go index 06f6d61800..2f55c6a84d 100644 --- a/models/issue_watch.go +++ b/models/issue_watch.go @@ -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").