Project

General

Profile

Actions

Patch #31555

closed

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

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

Added by Pavel Rosický over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:

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

Updated by Marius BĂLTEANU over 7 years ago Actions #1

  • Target version set to Candidate for next major release

Updated by Go MAEDA over 7 years ago Actions #2

  • Target version changed from Candidate for next major release to 4.1.0

Updated by Go MAEDA over 7 years ago Actions #3

  • 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.

Actions

Also available in: PDF Atom