From da00cf67b327bf3e8480294005aa399bb2f5f88f Mon Sep 17 00:00:00 2001 From: Christopher Broderick Date: Wed, 15 Nov 2023 11:31:45 +0000 Subject: [PATCH] Update helpdesk/settings.py Co-authored-by: Benbb96 --- helpdesk/settings.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/helpdesk/settings.py b/helpdesk/settings.py index 21599837..8212ffa9 100644 --- a/helpdesk/settings.py +++ b/helpdesk/settings.py @@ -229,8 +229,7 @@ HELPDESK_USE_HTTPS_IN_EMAIL_LINK = getattr( settings, 'HELPDESK_USE_HTTPS_IN_EMAIL_LINK', settings.SECURE_SSL_REDIRECT) # Default to True for backwards compatibility -HELPDESK_TEAMS_MODE_ENABLED = False if hasattr(settings, 'HELPDESK_TEAMS_MODE_ENABLED') and getattr( - settings, 'HELPDESK_TEAMS_MODE_ENABLED', True) is False else True +HELPDESK_TEAMS_MODE_ENABLED = getattr(settings, 'HELPDESK_TEAMS_MODE_ENABLED', True) if HELPDESK_TEAMS_MODE_ENABLED: HELPDESK_TEAMS_MODEL = getattr( settings, 'HELPDESK_TEAMS_MODEL', 'pinax_teams.Team')