Project

General

Profile

Patch #20263 » redmine-hook.patch

load_hook v2 - Ondřej Ezr, 2015-07-07 15:43

View differences:

config/initializers/30-redmine.rb
openid_authentication_store = Redmine::Configuration['openid_authentication_store']
OpenIdAuthentication.store =
openid_authentication_store.present? ?
openid_authentication_store : :memory
openid_authentication_store : :memory
end
Redmine::Plugin.load
......
Redmine::FieldFormat::RecordList.subclasses.each do |klass|
klass.instance.reset_target_class
end
end
end
ActiveSupport.run_load_hooks(:redmine, Redmine)
(2-2/2)