aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2017-05-28 17:10:21 +0200
committerGitHub <noreply@github.com>2017-05-28 17:10:21 +0200
commit87eae9ffa65944697fb16dcdf5e2f1b3747b7a9d (patch)
treeb4006e2eb426b33a88547edbf6179af86c59c8d3 /activesupport
parentb88200f10376a3d73c34a7db0347acc7b06bad39 (diff)
parent0584e21ac03a7abba100a8820aeab8de32facc2d (diff)
downloadrails-87eae9ffa65944697fb16dcdf5e2f1b3747b7a9d.tar.gz
rails-87eae9ffa65944697fb16dcdf5e2f1b3747b7a9d.tar.bz2
rails-87eae9ffa65944697fb16dcdf5e2f1b3747b7a9d.zip
Merge pull request #29074 from kamipo/remove_returning_true_in_internal_callbacks
Remove returning true in internal callbacks
Diffstat (limited to 'activesupport')
-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