mirror of
https://github.com/redmine/redmine.git
synced 2025-11-05 04:45:57 +01:00
remove duplicate mysql? and postgresql? logic
git-svn-id: http://svn.redmine.org/redmine/trunk@19710 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -190,11 +190,11 @@ class ActiveSupport::TestCase
|
||||
end
|
||||
|
||||
def mysql?
|
||||
ActiveRecord::Base.connection.adapter_name =~ /mysql/i
|
||||
Redmine::Database.mysql?
|
||||
end
|
||||
|
||||
def postgresql?
|
||||
ActiveRecord::Base.connection.adapter_name =~ /postgresql/i
|
||||
Redmine::Database.postgresql?
|
||||
end
|
||||
|
||||
def quoted_date(date)
|
||||
|
||||
Reference in New Issue
Block a user