diff options
author | Adam Niedzielski <adamsunday@gmail.com> | 2017-06-30 14:47:53 +0200 |
---|---|---|
committer | Adam Niedzielski <adamsunday@gmail.com> | 2017-06-30 14:47:53 +0200 |
commit | 9da3076944146444cb864d5db066a766c76b1935 (patch) | |
tree | 85be2f080e31d3ad9f5243b49dbc4366cd0f9f71 /app/models/external_issue.rb | |
parent | 81dba76b9d7d120cd22e3619a4058bd4885be9bc (diff) | |
download | gitlab-ce-9da3076944146444cb864d5db066a766c76b1935.tar.gz |
Improve support for external issue referencesadam-external-issue-references-spike
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 e63f89a9f85..0bf18e529f0 100644 --- a/app/models/external_issue.rb +++ b/app/models/external_issue.rb @@ -38,11 +38,6 @@ class ExternalIssue @project.id 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, full: nil) id end |