aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/webapp
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2017-01-18 19:57:07 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2017-01-18 20:47:59 +0100
commitdf3aef3ed47189b304b48ffcebd5970883e91747 (patch)
tree4a577f1043015c38193d2a185a369644bc5471ed /server/sonar-web/src/main/webapp
parentb162b95108b99b3476c1f2a876bf914dcdc7941e (diff)
downloadsonarqube-df3aef3ed47189b304b48ffcebd5970883e91747.tar.gz
sonarqube-df3aef3ed47189b304b48ffcebd5970883e91747.zip
Clean-up DefaultUserService
because it's not used anymore from Ruby
Diffstat (limited to 'server/sonar-web/src/main/webapp')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/app/models/api.rb30
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/app/models/internal.rb4
2 files changed, 0 insertions, 34 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/models/api.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/models/api.rb
deleted file mode 100644
index c9a1f355df5..00000000000
--- a/server/sonar-web/src/main/webapp/WEB-INF/app/models/api.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# SonarQube, open source software quality management tool.
-# Copyright (C) 2008-2016 SonarSource
-# mailto:contact AT sonarsource DOT com
-#
-# SonarQube is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 3 of the License, or (at your option) any later version.
-#
-# SonarQube is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-
-# Entry points to Java API. All other Ruby classes are not considered
-# as an API and can evolve through time.
-class Api
-
- # See the javadoc of org.sonar.api.user.RubyUserService
- # Since 3.6
- def self.users
- Internal.users_api
- end
-end
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/models/internal.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/models/internal.rb
index e0f5c76376f..9427cf9aac7 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/app/models/internal.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/app/models/internal.rb
@@ -26,10 +26,6 @@ class Internal
component(Java::OrgSonarServerIssue::InternalRubyIssueService.java_class)
end
- def self.users_api
- component(Java::OrgSonarApiUser::RubyUserService.java_class)
- end
-
def self.component_api
component(Java::OrgSonarApiComponent::RubyComponentService.java_class)
end