aboutsummaryrefslogtreecommitdiffstats
path: root/services/milestone
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-11-02 10:35:12 +0800
committerGitHub <noreply@github.com>2019-11-02 10:35:12 +0800
commitf518fe66620bcb60a5251befca116f8caa48ee42 (patch)
tree0522717b649d6d5148e11e122048cf8629aafcfb /services/milestone
parent4b8d9e58c58b8952e86e7e5f90a0a8e0480e1de1 (diff)
downloadgitea-f518fe66620bcb60a5251befca116f8caa48ee42.tar.gz
gitea-f518fe66620bcb60a5251befca116f8caa48ee42.zip
Rename HookQueue to hookQueue (#8778)
* Rename HookQueue to hookQueue * fix lint
Diffstat (limited to 'services/milestone')
-rw-r--r--services/milestone/milestone.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/services/milestone/milestone.go b/services/milestone/milestone.go
index d6d18ad985..84e7fb30e2 100644
--- a/services/milestone/milestone.go
+++ b/services/milestone/milestone.go
@@ -53,8 +53,6 @@ func ChangeMilestoneAssign(issue *models.Issue, doer *models.User, oldMilestoneI
}
if err != nil {
log.Error("PrepareWebhooks [is_pull: %v]: %v", issue.IsPull, err)
- } else {
- go webhook.HookQueue.Add(issue.RepoID)
}
return nil
}