diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2015-04-28 15:57:49 +0200 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2015-05-05 09:18:54 +0200 |
commit | a219c5a6860ce4cb317dc718288ab5af91e732fe (patch) | |
tree | cf3594af74a51a37f1738c475eeeb405b16e9cef /server/sonar-web | |
parent | 3e1a2e8a3e097c09525260e19d75eb68ce3c0ce9 (diff) | |
download | sonarqube-a219c5a6860ce4cb317dc718288ab5af91e732fe.tar.gz sonarqube-a219c5a6860ce4cb317dc718288ab5af91e732fe.zip |
SONAR-6366 SQ state check in RoR now uses Java DBMigration status
use to be based on the RoR code handling the DB migration, it is now based on its Java replacement
Diffstat (limited to 'server/sonar-web')
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/app/controllers/application_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/application_controller.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/application_controller.rb index 620279a51f8..d1c1682b30e 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/application_controller.rb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/application_controller.rb @@ -87,7 +87,7 @@ class ApplicationController < ActionController::Base protected def check_database_version - unless DatabaseMigrationManager.instance.is_sonar_access_allowed? + unless java_facade.isSonarAccessAllowed() redirect_to :controller => 'maintenance', :action => 'index' end end |