diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-24 18:08:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-24 18:08:28 +0300 |
commit | 8e1bb8745bafe36f273ce4a095c3576c38ceb8b4 (patch) | |
tree | ec27d8dc078480009afe783f7bea87d3927f28f1 /app/services/issuable | |
parent | 4b4c254b2cfaca26c2c8e2bda70d45c13e3a6f97 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/issuable')
-rw-r--r-- | app/services/issuable/common_system_notes_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/issuable/common_system_notes_service.rb b/app/services/issuable/common_system_notes_service.rb index 9ee54c7ba0f..5cf32ee3e40 100644 --- a/app/services/issuable/common_system_notes_service.rb +++ b/app/services/issuable/common_system_notes_service.rb @@ -54,7 +54,7 @@ module Issuable def create_draft_note(old_title) return unless issuable.is_a?(MergeRequest) - if MergeRequest.work_in_progress?(old_title) != issuable.work_in_progress? + if MergeRequest.draft?(old_title) != issuable.draft? SystemNoteService.handle_merge_request_draft(issuable, issuable.project, current_user) end end |