Commit 0ad8a545 authored by Kerri Miller's avatar Kerri Miller

Remove unused WIP regex

Now that we've dropped support for WIP prefixing triggering Draft status
on MRs, we no longer need this regex.

Changelog: removed
parent 4e73f3d4
......@@ -435,10 +435,6 @@ module Gitlab
@utc_date_regex ||= /\A[0-9]{4}-[0-9]{2}-[0-9]{2}\z/.freeze
end
def merge_request_wip
/(?i)(\[WIP\]\s*|WIP:\s*|\AWIP\z)/
end
def merge_request_draft
/\A(?i)(\[draft\]|\(draft\)|draft:)/
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment