summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorAlexis Reigel <mail@koffeinfrei.org>2017-09-25 13:34:45 +0200
committerAlexis Reigel <alexis.reigel.ext@siemens.com>2018-04-23 09:21:43 +0200
commit32a9c85bd9a320984a17fa29cd6aaa3b45e0bf4c (patch)
tree15dab9c38b279154b0879b11fc3b4bf96056ca60 /lib/api
parent850e327c70660a3935ca00c3d836f04695a408d3 (diff)
downloadgitlab-ce-32a9c85bd9a320984a17fa29cd6aaa3b45e0bf4c.tar.gz
revert support for v3 api
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/v3/runners.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/api/v3/runners.rb b/lib/api/v3/runners.rb
index 24e10128b79..c6d9957d452 100644
--- a/lib/api/v3/runners.rb
+++ b/lib/api/v3/runners.rb
@@ -54,7 +54,6 @@ module API
forbidden!("Runner is shared") if runner.is_shared?
forbidden!("Runner associated with more than one project") if runner.projects.count > 1
- forbidden!("Runner associated with more that one group") if runner.groups.count > 1
forbidden!("No access granted") unless user_can_access_runner?(runner)
end