use the accessor method in order to work with arrays in env vars

pull/2546/head
Martin Linkhorst 10 years ago
parent 475299eafe
commit b8bbff4ad0
  1. 4
      config/initializers/module_handler.rb

@ -27,7 +27,7 @@
# See doc/COPYRIGHT.rdoc for more details.
#++
unless OpenProject::Configuration['disabled_modules'].empty?
to_disable = OpenProject::Configuration['disabled_modules']
unless OpenProject::Configuration.disabled_modules.empty?
to_disable = OpenProject::Configuration.disabled_modules
OpenProject::Plugins::ModuleHandler.disable_modules(to_disable)
end

Loading…
Cancel
Save