mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
remove unused variables
This commit is contained in:
parent
ea3a190137
commit
74d09060a3
2 changed files with 1 additions and 2 deletions
|
@ -553,7 +553,7 @@ module Rails
|
|||
#
|
||||
# This needs to be an initializer, since it needs to run once
|
||||
# per engine and get the engine as a block parameter
|
||||
initializer :set_autoload_paths, before: :bootstrap_hook do |app|
|
||||
initializer :set_autoload_paths, before: :bootstrap_hook do
|
||||
ActiveSupport::Dependencies.autoload_paths.unshift(*_all_autoload_paths)
|
||||
ActiveSupport::Dependencies.autoload_once_paths.unshift(*_all_autoload_once_paths)
|
||||
|
||||
|
|
|
@ -82,7 +82,6 @@ namespace :test do
|
|||
|
||||
# Display deprecation message
|
||||
task :deprecated do
|
||||
task_name = ARGV.first
|
||||
ActiveSupport::Deprecation.warn "`rake #{ARGV.first}` is deprecated with no replacement."
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue