diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-11-02 11:33:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-02 11:33:20 +0800 |
commit | 8f26397928b33a16558dafc2716a72b6e6900bf4 (patch) | |
tree | 64604da13ff190b9aa6d3f4dc94fe7c8352a99e9 /modules/notification/notification.go | |
parent | f518fe66620bcb60a5251befca116f8caa48ee42 (diff) | |
download | gitea-8f26397928b33a16558dafc2716a72b6e6900bf4.tar.gz gitea-8f26397928b33a16558dafc2716a72b6e6900bf4.zip |
Move issue milestone assign to issue service and move webhook to notification (#8780)
Diffstat (limited to 'modules/notification/notification.go')
-rw-r--r-- | modules/notification/notification.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/notification/notification.go b/modules/notification/notification.go index 0f1b63cf67..70b1541e35 100644 --- a/modules/notification/notification.go +++ b/modules/notification/notification.go @@ -128,9 +128,9 @@ func NotifyDeleteRelease(doer *models.User, rel *models.Release) { } // NotifyIssueChangeMilestone notifies change milestone to notifiers -func NotifyIssueChangeMilestone(doer *models.User, issue *models.Issue) { +func NotifyIssueChangeMilestone(doer *models.User, issue *models.Issue, oldMilestoneID int64) { for _, notifier := range notifiers { - notifier.NotifyIssueChangeMilestone(doer, issue) + notifier.NotifyIssueChangeMilestone(doer, issue, oldMilestoneID) } } |