diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2015-02-03 02:11:19 +0300 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2015-02-11 20:21:57 +0300 |
commit | 29e606deeca83c41d72f880d9574af5983686ab3 (patch) | |
tree | 9dfca41ccb3ae3a3c075d1b217e206a98bebf8ec /lib/gitlab/reference_extractor.rb | |
parent | 2dfd21983483bd5fd32b327edb4b02228b377c47 (diff) |
Add ExternalIssue base model to make issue referencing more robust for external issue trackers.
Diffstat (limited to 'lib/gitlab/reference_extractor.rb')
-rw-r--r-- | lib/gitlab/reference_extractor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/reference_extractor.rb b/lib/gitlab/reference_extractor.rb index 0b9177afa4f..7e5c991a222 100644 --- a/lib/gitlab/reference_extractor.rb +++ b/lib/gitlab/reference_extractor.rb @@ -71,7 +71,7 @@ module Gitlab if entry_project.nil? false else - project.nil? || project.id == entry_project.id + project.nil? || entry_project.default_issues_tracker? end end end |