Commit 0077679a authored by Dylan Griffith's avatar Dylan Griffith

Bring back shared_runners_available? method since it is overriden in EE

parent 8d813986
...@@ -1292,8 +1292,12 @@ class Project < ActiveRecord::Base ...@@ -1292,8 +1292,12 @@ class Project < ActiveRecord::Base
project_feature.update_attribute(:builds_access_level, ProjectFeature::ENABLED) project_feature.update_attribute(:builds_access_level, ProjectFeature::ENABLED)
end end
def shared_runners_available?
shared_runners_enabled?
end
def shared_runners def shared_runners
@shared_runners ||= shared_runners_enabled? ? Ci::Runner.shared : Ci::Runner.none @shared_runners ||= shared_runners_available? ? Ci::Runner.shared : Ci::Runner.none
end end
def group_runners def group_runners
......
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