diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2013-07-23 15:06:24 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2013-07-23 15:06:47 +0200 |
commit | cc34e3d29893a4c638a36ccc47faefeb88c9df19 (patch) | |
tree | c2f2dca9dbd4cb1651129c4d077141190e79eeda /sonar-server | |
parent | ceeccdc1109973d6572feb07f3c161bb723bea77 (diff) | |
download | sonarqube-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.rb | 2 |
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) } |