Patch #31555
Use Redmine::Database.mysql? instead of a regular expression
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Code cleanup/refactoring | |||
Target version: | 4.1.0 |
Description
this patch replaces
ActiveRecord::Base.connection.adapter_name =~ /mysql/i
with
Redmine::Database.mysql?
Associated revisions
Use Redmine::Database.mysql? instead of a regular expression (#31555).
Patch by Pavel Rosický.
History
#1
Updated by Marius BALTEANU 6 months ago
- Target version set to Candidate for next major release