Project

General

Profile

Actions

Patch #31555

closed

Use Redmine::Database.mysql? instead of a regular expression

Added by Pavel Rosický almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

this patch replaces

ActiveRecord::Base.connection.adapter_name =~ /mysql/i

with
Redmine::Database.mysql?


Files

mysqlhelper.patch (4.12 KB) mysqlhelper.patch Pavel Rosický, 2019-06-11 21:45
Actions

Also available in: Atom PDF