Skip to content
Snippets Groups Projects
Commit 16d455f2 authored by Stéphane Diemer's avatar Stéphane Diemer
Browse files

Replaced premium-support@ubicast.eu address.

parent 4e5166ed
No related branches found
No related tags found
No related merge requests found
......@@ -427,12 +427,11 @@ class Tester():
if system_domain == 'monitor':
system_domain = 'Server'
system_type = '-'
if utils.get_conf('PREMIUM_SUPPORT') != '0':
system_domain = '[PREMIUM] %s' % system_domain
if not out_of_support:
recipients += ',premium-support@ubicast.eu'
if out_of_support:
recipients = recipients.replace('sysadmin@ubicast.eu', '').replace(',,', ',')
elif utils.get_conf('PREMIUM_SUPPORT') != '0':
system_domain = '[PREMIUM] %s' % system_domain
recipients.replace('sysadmin@ubicast.eu', 'sysadmin+premium@ubicast.eu')
recipients = recipients.strip(',')
if not recipients:
log('No recipients defined for email sending. Set a value for EMAIL_ADMINS.')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment