diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2017-05-28 17:10:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-28 17:10:21 +0200 |
commit | 87eae9ffa65944697fb16dcdf5e2f1b3747b7a9d (patch) | |
tree | b4006e2eb426b33a88547edbf6179af86c59c8d3 /activesupport | |
parent | b88200f10376a3d73c34a7db0347acc7b06bad39 (diff) | |
parent | 0584e21ac03a7abba100a8820aeab8de32facc2d (diff) | |
download | rails-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.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 |