diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-01-17 22:23:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-17 22:23:22 +0800 |
commit | 82e08a3364195b515a005180c2bdc08e78aac208 (patch) | |
tree | f8ae9f914ab522224e57fcf94675a7f7dd39006e /models/pull.go | |
parent | 477a80f658a04fc477d800887c55654ac307ff45 (diff) | |
download | gitea-82e08a3364195b515a005180c2bdc08e78aac208.tar.gz gitea-82e08a3364195b515a005180c2bdc08e78aac208.zip |
Refactor notification for indexer (#5111)
* notification for indexer
* use NullNotifier as parent struct
Diffstat (limited to 'models/pull.go')
-rw-r--r-- | models/pull.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/models/pull.go b/models/pull.go index e1a8b14e45..8b4961d8b6 100644 --- a/models/pull.go +++ b/models/pull.go @@ -833,8 +833,6 @@ func NewPullRequest(repo *Repository, pull *Issue, labelIDs []int64, uuids []str return fmt.Errorf("Commit: %v", err) } - UpdateIssueIndexer(pull.ID) - if err = NotifyWatchers(&Action{ ActUserID: pull.Poster.ID, ActUser: pull.Poster, |