1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

removed deprecated increment_open_transactions

This commit is contained in:
Arun Agrawal 2013-07-03 20:48:49 +02:00
parent b785e921d1
commit 51c97e7e19
2 changed files with 4 additions and 4 deletions

View file

@ -1,3 +1,7 @@
* Remove deprecated `increment_open_transactions`.
*Arun Agrawal*
* Remove deprecated `PostgreSQLAdapter#outside_transaction?`
method. You can use `#transaction_open?` instead.

View file

@ -387,10 +387,6 @@ module ActiveRecord
@transaction.number
end
def increment_open_transactions
ActiveSupport::Deprecation.warn "#increment_open_transactions is deprecated and has no effect"
end
def decrement_open_transactions
ActiveSupport::Deprecation.warn "#decrement_open_transactions is deprecated and has no effect"
end