mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
FEATURE: support disabling emails for non-staff users
This commit is contained in:
@ -27,7 +27,7 @@ class ImportScripts::Mbox < ImportScripts::Base
|
||||
BATCH_SIZE = 1000
|
||||
|
||||
# Site settings
|
||||
SiteSetting.disable_emails = true
|
||||
SiteSetting.disable_emails = "non-staff"
|
||||
|
||||
# Comment out if each file contains a single message
|
||||
# Use formail to split yourself: http://linuxcommand.org/man_pages/formail1.html
|
||||
|
Reference in New Issue
Block a user