Firewall updated

This commit is contained in:
mridulnagpal authored and James Valleroy committed 2016-12-04 13:45:26 -05:00
1 parent 1eedad907e
commit 941259df1e
18 files changed
+97 -54

No files matched your search

+5 -3
View File
@@ -67,9 +67,11 @@ def init():
menu.add_urlname(title, 'glyphicon-envelope', 'roundcube:index')
global service
service = service_module.Service(
'roundcube', title, ports=['http', 'https'], is_external=True,
is_enabled=is_enabled, enable=enable, disable=disable)
setup_helper = globals()['setup_helper']
if setup_helper.get_state() != 'needs-setup':
service = service_module.Service(
'roundcube', title, ports=['http', 'https'], is_external=True,
is_enabled=is_enabled, enable=enable, disable=disable)
if is_enabled():
add_shortcut()