1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-03-11 03:33:07 +00:00

Rephrase comment

This commit is contained in:
Holger Just 2010-08-22 18:23:42 +02:00
parent 187b52fd07
commit d3ade19fd1

View File

@ -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']