mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-11 03:33:07 +00:00
Rephrase comment
This commit is contained in:
parent
187b52fd07
commit
d3ade19fd1
@ -106,7 +106,7 @@ class AdminController < ApplicationController
|
||||
when 'PostgreSQL'
|
||||
ActiveRecord::Base.connection.encoding
|
||||
when 'SQLite'
|
||||
# copied straight from ActiveRecord::ConnectionAdapters::SQLite3Adapter.encoding
|
||||
# works like ActiveRecord::ConnectionAdapters::SQLite3Adapter.encoding
|
||||
# of the Rails3 Sqlite3 adapter
|
||||
if ActiveRecord::Base.connection.respond_to?(:encoding)
|
||||
ActiveRecord::Base.connection.encoding[0]['encoding']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user