Commit bbd4831b authored by Dylan Griffith's avatar Dylan Griffith
Browse files

Bring back shared_runners_available? method since it is overriden in EE

parent ed903f5d46f0
......@@ -1292,8 +1292,12 @@ def enable_ci
project_feature.update_attribute(:builds_access_level, ProjectFeature::ENABLED)
end
def shared_runners_available?
shared_runners_enabled?
end
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
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