]> source.dussan.org Git - sonarqube.git/commitdiff
Fix evaluation warning
authorDavid Gageot <david@gageot.net>
Wed, 10 Oct 2012 15:40:25 +0000 (17:40 +0200)
committerDavid Gageot <david@gageot.net>
Wed, 10 Oct 2012 15:40:34 +0000 (17:40 +0200)
sonar-server/src/main/webapp/WEB-INF/lib/database_version.rb

index 2f4870706d401e504d7472e30725a9a473834a14..7ba8d01dcd22941ab405217747d8ad11b1c72a39 100644 (file)
@@ -106,7 +106,7 @@ class DatabaseVersion
   def self.production?
     @@production ||=
       begin
-        dialect()!='h2'
+        dialect()!='.h2.'
       end
   end
 end