diff options
Diffstat (limited to 'services/issue/status.go')
-rw-r--r-- | services/issue/status.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/issue/status.go b/services/issue/status.go index 64fbccd26a..1af4508b09 100644 --- a/services/issue/status.go +++ b/services/issue/status.go @@ -14,7 +14,7 @@ import ( // ChangeStatus changes issue status to open or closed. func ChangeStatus(issue *models.Issue, doer *user_model.User, closed bool) error { - comment, err := issue.ChangeStatus(doer, closed) + comment, err := models.ChangeIssueStatus(issue, doer, closed) if err != nil { if models.IsErrDependenciesLeft(err) && closed { if err := models.FinishIssueStopwatchIfPossible(db.DefaultContext, doer, issue); err != nil { |