remove redundant variable from config/initializers/00-core_plugins.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11712 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
bd0e728352
commit
6869e652c4
|
@ -8,7 +8,7 @@ Dir.glob(File.join(Rails.root, "lib/plugins/*")).sort.each do |directory|
|
||||||
end
|
end
|
||||||
initializer = File.join(directory, "init.rb")
|
initializer = File.join(directory, "init.rb")
|
||||||
if File.file?(initializer)
|
if File.file?(initializer)
|
||||||
config = config = RedmineApp::Application.config
|
config = RedmineApp::Application.config
|
||||||
eval(File.read(initializer), binding, initializer)
|
eval(File.read(initializer), binding, initializer)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue