Project

General

Profile

Actions

Patch #31555

closed

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

Added by Pavel Rosický over 5 years ago. Updated over 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