diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-05-14 02:43:02 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-05-14 03:42:17 +0900 |
commit | 0584e21ac03a7abba100a8820aeab8de32facc2d (patch) | |
tree | 63d8709120a6794384d9e1edfa92d41f1b222997 /activesupport/lib | |
parent | 23aa0a2bb551717f153ac75f24c017c43ab853f2 (diff) | |
download | rails-0584e21ac03a7abba100a8820aeab8de32facc2d.tar.gz rails-0584e21ac03a7abba100a8820aeab8de32facc2d.tar.bz2 rails-0584e21ac03a7abba100a8820aeab8de32facc2d.zip |
Remove returning true in internal callbacks
`display_deprecation_warning_for_false_terminator` was removed since
3a25cdc.
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/i18n_railtie.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/i18n_railtie.rb b/activesupport/lib/active_support/i18n_railtie.rb index f05c707ccd..51fe6f3418 100644 --- a/activesupport/lib/active_support/i18n_railtie.rb +++ b/activesupport/lib/active_support/i18n_railtie.rb @@ -66,10 +66,6 @@ module I18n app.reloaders << reloader app.reloader.to_run do reloader.execute_if_updated { require_unload_lock! } - # TODO: remove the following line as soon as the return value of - # callbacks is ignored, that is, returning `false` does not - # display a deprecation warning or halts the callback chain. - true end reloader.execute |