processed.rb 427 B

123456789101112131415161718192021
  1. # Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/
  2. class Setting::Processed
  3. include ::Mixin::HasBackends
  4. def self.process_settings!(input)
  5. backends.each do |backend|
  6. backend.new(input).process_settings!
  7. end
  8. input
  9. end
  10. def self.process_frontend_settings!(input)
  11. backends.each do |backend|
  12. backend.new(input).process_frontend_settings!
  13. end
  14. input
  15. end
  16. end