1
0
Fork 0
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:
Rafael Mendonça França 2017-10-19 16:22:41 -04:00
parent c792354adc
commit 19fbbebb16
No known key found for this signature in database
GPG key ID: FC23B6D0F1EEE948
2 changed files with 4 additions and 12 deletions

View file

@ -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*

View file

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