aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2013-07-23 15:06:24 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2013-07-23 15:06:47 +0200
commitcc34e3d29893a4c638a36ccc47faefeb88c9df19 (patch)
treec2f2dca9dbd4cb1651129c4d077141190e79eeda /sonar-server
parentceeccdc1109973d6572feb07f3c161bb723bea77 (diff)
downloadsonarqube-cc34e3d29893a4c638a36ccc47faefeb88c9df19.tar.gz
sonarqube-cc34e3d29893a4c638a36ccc47faefeb88c9df19.zip
Remove unused code
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/controllers/batch_bootstrap_controller.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/batch_bootstrap_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/batch_bootstrap_controller.rb
index f378a0a56ec..b25711ff20c 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/batch_bootstrap_controller.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/batch_bootstrap_controller.rb
@@ -67,8 +67,6 @@ class BatchBootstrapController < Api::ApiController
end
# apply security
- has_user_role=has_role?(:user, root_project)
- has_admin_role=has_role?(:admin, root_project)
properties = properties.select{|prop| allowed?(prop.key, dryRun, has_scan_role)}
json_properties=properties.map { |property| to_json_property(property) }