summaryrefslogtreecommitdiffstats
path: root/modules/notification/notification.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/notification/notification.go')
-rw-r--r--modules/notification/notification.go4
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)
}
}