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:
parent
b785e921d1
commit
51c97e7e19
2 changed files with 4 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
* Remove deprecated `increment_open_transactions`.
|
||||||
|
|
||||||
|
*Arun Agrawal*
|
||||||
|
|
||||||
* Remove deprecated `PostgreSQLAdapter#outside_transaction?`
|
* Remove deprecated `PostgreSQLAdapter#outside_transaction?`
|
||||||
method. You can use `#transaction_open?` instead.
|
method. You can use `#transaction_open?` instead.
|
||||||
|
|
||||||
|
|
|
@ -387,10 +387,6 @@ module ActiveRecord
|
||||||
@transaction.number
|
@transaction.number
|
||||||
end
|
end
|
||||||
|
|
||||||
def increment_open_transactions
|
|
||||||
ActiveSupport::Deprecation.warn "#increment_open_transactions is deprecated and has no effect"
|
|
||||||
end
|
|
||||||
|
|
||||||
def decrement_open_transactions
|
def decrement_open_transactions
|
||||||
ActiveSupport::Deprecation.warn "#decrement_open_transactions is deprecated and has no effect"
|
ActiveSupport::Deprecation.warn "#decrement_open_transactions is deprecated and has no effect"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue