Reset filters to empty for postmaster filter.

This commit is contained in:
Martin Edenhofer 2016-04-21 20:49:30 +02:00
parent 3cf3bc919f
commit 2d93b435ba

View file

@ -490,6 +490,7 @@ retrns
Observer::Transaction.commit
# run postmaster post filter
filters = {}
Setting.where(area: 'Postmaster::PostFilter').order(:name).each {|setting|
filters[setting.name] = Kernel.const_get(Setting.get(setting.name))
}