mirror of
https://github.com/discourse/discourse.git
synced 2025-03-06 03:09:43 +00:00
remove conditional code
This commit is contained in:
parent
1a00aaa825
commit
42847252a4
@ -1,6 +1,4 @@
|
||||
|
||||
if Rails.version >= "4.2.0"
|
||||
class ActiveRecord::ConnectionAdapters::AbstractAdapter
|
||||
class ActiveRecord::ConnectionAdapters::AbstractAdapter
|
||||
module LastUseExtension
|
||||
attr_reader :last_use, :first_use
|
||||
|
||||
@ -21,7 +19,6 @@ if Rails.version >= "4.2.0"
|
||||
end
|
||||
|
||||
prepend LastUseExtension
|
||||
end
|
||||
end
|
||||
|
||||
class ActiveRecord::ConnectionAdapters::ConnectionPool
|
||||
|
Loading…
x
Reference in New Issue
Block a user