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 #1

Updated by Marius BĂLTEANU over 5 years ago

  • Target version set to Candidate for next major release
Actions #2

Updated by Go MAEDA over 5 years ago

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

Updated by Go MAEDA over 5 years 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.

Actions

Also available in: Atom PDF