diff options
author | Felipe Artur <felipefac@gmail.com> | 2016-10-06 19:05:27 -0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2016-10-19 13:46:04 -0200 |
commit | 8e4301d982ce28d80e711865ac294a98ddce3ec6 (patch) | |
tree | 1f6d01b142ca952f3cd3098336fbb0762fe0a8dc /app/models/external_issue.rb | |
parent | f560849941dcb4408350c6c24034f845d3986782 (diff) | |
download | gitlab-ce-8e4301d982ce28d80e711865ac294a98ddce3ec6.tar.gz |
Prevent wrong markdown on issue ids when project has Jira service activatedissue_828
Diffstat (limited to 'app/models/external_issue.rb')
-rw-r--r-- | app/models/external_issue.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/models/external_issue.rb b/app/models/external_issue.rb index b7894c99846..fd9a8c1b8b7 100644 --- a/app/models/external_issue.rb +++ b/app/models/external_issue.rb @@ -29,11 +29,6 @@ class ExternalIssue @project end - # Pattern used to extract `JIRA-123` issue references from text - def self.reference_pattern - @reference_pattern ||= %r{(?<issue>\b([A-Z][A-Z0-9_]+-)\d+)} - end - def to_reference(_from_project = nil) id end |