BigW Consortium Gitlab

disable_email_interceptor.rb 157 Bytes
Newer Older
1
# Interceptor in lib/disable_email_interceptor.rb
2
ActionMailer::Base.register_interceptor(DisableEmailInterceptor) unless Gitlab.config.gitlab.email_enabled