summaryrefslogtreecommitdiffstats
path: root/models/issue.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issue.go')
-rw-r--r--models/issue.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/models/issue.go b/models/issue.go
index 4f03ed926e..baca512ab0 100644
--- a/models/issue.go
+++ b/models/issue.go
@@ -1112,8 +1112,6 @@ func NewIssue(repo *Repository, issue *Issue, labelIDs []int64, assigneeIDs []in
return fmt.Errorf("Commit: %v", err)
}
- UpdateIssueIndexer(issue.ID)
-
if err = NotifyWatchers(&Action{
ActUserID: issue.Poster.ID,
ActUser: issue.Poster,
@@ -1652,7 +1650,6 @@ func updateIssue(e Engine, issue *Issue) error {
if err != nil {
return err
}
- UpdateIssueIndexer(issue.ID)
return nil
}