UPD: split enable_email settings.
This commit is contained in:
@@ -130,7 +130,7 @@ class BasicWorkflow(object):
|
||||
updater = kwargs.get('user')
|
||||
|
||||
app_config = apps.get_containing_app_config(__package__)
|
||||
if not app_config.settings.enable_email_notifications:
|
||||
if not app_config.settings.enable_email_on_update:
|
||||
return
|
||||
|
||||
if len(diff) < 1:
|
||||
@@ -160,7 +160,7 @@ class BasicWorkflow(object):
|
||||
updater = flag.user
|
||||
|
||||
app_config = apps.get_containing_app_config(__package__)
|
||||
if not app_config.settings.enable_email_notifications:
|
||||
if not app_config.settings.enable_email_on_status_update:
|
||||
return
|
||||
|
||||
if flag.status.code == 'submitted':
|
||||
|
||||
Reference in New Issue
Block a user