mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00: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:
parent
3711da2529
commit
ea5da4d1be
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user