mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove deprecated halt_callback_chains_on_return_false
option
This commit is contained in:
parent
c792354adc
commit
19fbbebb16
2 changed files with 4 additions and 12 deletions
|
@ -1,3 +1,7 @@
|
|||
* Remove deprecated `halt_callback_chains_on_return_false` option.
|
||||
|
||||
*Rafael Mendonça França*
|
||||
|
||||
* Remove deprecated `:if` and `:unless` string filter for callbacks.
|
||||
|
||||
*Rafael Mendonça França*
|
||||
|
|
|
@ -82,18 +82,6 @@ module ActiveSupport
|
|||
|
||||
cattr_accessor :test_order # :nodoc:
|
||||
|
||||
def self.halt_callback_chains_on_return_false
|
||||
ActiveSupport::Deprecation.warn(<<-MSG.squish)
|
||||
ActiveSupport.halt_callback_chains_on_return_false is deprecated and will be removed in Rails 5.2.
|
||||
MSG
|
||||
end
|
||||
|
||||
def self.halt_callback_chains_on_return_false=(value)
|
||||
ActiveSupport::Deprecation.warn(<<-MSG.squish)
|
||||
ActiveSupport.halt_callback_chains_on_return_false= is deprecated and will be removed in Rails 5.2.
|
||||
MSG
|
||||
end
|
||||
|
||||
def self.to_time_preserves_timezone
|
||||
DateAndTime::Compatibility.preserve_timezone
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue