]> source.dussan.org Git - sonarqube.git/commitdiff
Fix refactoring on UserSession
authorSimon Brandhof <simon.brandhof@gmail.com>
Thu, 30 May 2013 09:44:25 +0000 (11:44 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Thu, 30 May 2013 09:44:34 +0000 (11:44 +0200)
sonar-server/src/main/webapp/WEB-INF/app/controllers/application_controller.rb

index 24c627ce1950ee2592859b6ed54915d4119a21b8..e0a6401682b6de2b55f4a27c47d79911d00e7434 100644 (file)
@@ -93,9 +93,9 @@ class ApplicationController < ActionController::Base
     end
 
     if current_user && current_user.id
-      Java::OrgSonarServerPlatform::UserSession.setSession(current_user.id.to_i, current_user.login, I18n.locale.to_s)
+      Java::OrgSonarServerUser::UserSession.setSession(current_user.id.to_i, current_user.login, I18n.locale.to_s)
     else
-      Java::OrgSonarServerPlatform::UserSession.setSession(nil, nil, I18n.locale.to_s)
+      Java::OrgSonarServerUser::UserSession.setSession(nil, nil, I18n.locale.to_s)
     end
   end