diff options
author | Ethan Koenig <ethantkoenig@gmail.com> | 2017-12-17 03:53:02 -0800 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-12-17 13:53:02 +0200 |
commit | 6abfa48c0ecb9f19cb5b6c66763dbd577ac21dcc (patch) | |
tree | 7eef9b7dfccaa99be927b938b373337e966295e1 /models/issue.go | |
parent | eb2b4df0ed258fc63108b272dda43b306ac25cce (diff) | |
download | gitea-6abfa48c0ecb9f19cb5b6c66763dbd577ac21dcc.tar.gz gitea-6abfa48c0ecb9f19cb5b6c66763dbd577ac21dcc.zip |
Remove unnecessary updates to issue indexer (#3212)
Diffstat (limited to 'models/issue.go')
-rw-r--r-- | models/issue.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue.go b/models/issue.go index 7cea3b92a2..984e6e31cf 100644 --- a/models/issue.go +++ b/models/issue.go @@ -582,7 +582,7 @@ func updateIssueCols(e Engine, issue *Issue, cols ...string) error { if _, err := e.ID(issue.ID).Cols(cols...).Update(issue); err != nil { return err } - UpdateIssueIndexer(issue.ID) + UpdateIssueIndexerCols(issue.ID, cols...) return nil } |