]> source.dussan.org Git - sonarqube.git/commitdiff
Remove unused code
authorJulien HENRY <julien.henry@sonarsource.com>
Tue, 23 Jul 2013 13:06:24 +0000 (15:06 +0200)
committerJulien HENRY <julien.henry@sonarsource.com>
Tue, 23 Jul 2013 13:06:47 +0000 (15:06 +0200)
sonar-server/src/main/webapp/WEB-INF/app/controllers/batch_bootstrap_controller.rb

index f378a0a56ecf225a09a38a5b7546ea99b6a62b54..b25711ff20c0630de788961672ced54da4f8f719 100644 (file)
@@ -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) }