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
15 15
  openid_authentication_store = Redmine::Configuration['openid_authentication_store']
16 16
  OpenIdAuthentication.store =
17 17
    openid_authentication_store.present? ?
18
      openid_authentication_store : :memory   
18
      openid_authentication_store : :memory
19 19
end
20 20

  
21 21
Redmine::Plugin.load
......
27 27
  Redmine::FieldFormat::RecordList.subclasses.each do |klass|
28 28
    klass.instance.reset_target_class
29 29
  end
30
end
30
end
31

  
32
ActiveSupport.run_load_hooks(:redmine, Redmine)
(2-2/2)