aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/i18n_railtie.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-05-14 02:43:02 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-05-14 03:42:17 +0900
commit0584e21ac03a7abba100a8820aeab8de32facc2d (patch)
tree63d8709120a6794384d9e1edfa92d41f1b222997 /activesupport/lib/active_support/i18n_railtie.rb
parent23aa0a2bb551717f153ac75f24c017c43ab853f2 (diff)
downloadrails-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/active_support/i18n_railtie.rb')
-rw-r--r--activesupport/lib/active_support/i18n_railtie.rb4
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