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 over 1 year ago
- Target version set to Candidate for next major release
#2
Updated by Go MAEDA over 1 year ago
- Target version changed from Candidate for next major release to 4.1.0
#3
Updated by Go MAEDA over 1 year ago
- Subject changed from use database helpers to Use Redmine::Database.mysql? instead of a regular expression
- Status changed from New to Closed
- Assignee set to Go MAEDA
Committed the patch. Thank you for your contribution.