Commit b5a47c0a authored by Yorick Peterse's avatar Yorick Peterse

Merge branch 'external-issue-tracker' into 'master'

See merge request !3218
parents 07325005 c51c9019
...@@ -508,6 +508,7 @@ class Project < ActiveRecord::Base ...@@ -508,6 +508,7 @@ class Project < ActiveRecord::Base
end end
def external_issue_tracker def external_issue_tracker
return @external_issue_tracker if defined?(@external_issue_tracker)
@external_issue_tracker ||= @external_issue_tracker ||=
services.issue_trackers.active.without_defaults.first services.issue_trackers.active.without_defaults.first
end 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