mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-13 10:36:25 +01:00
Fix service migration
This commit is contained in:
@@ -23,9 +23,7 @@ def optional_dependencies():
|
||||
dependencies = []
|
||||
|
||||
# Skip adding module dependencies if the settings specifies that services have been migrated
|
||||
if getattr(settings, 'SERVICES_MIGRATED', True):
|
||||
return dependencies
|
||||
|
||||
if not getattr(settings, 'SERVICES_MIGRATED', False):
|
||||
if 'services.modules.xenforo' in installed_apps:
|
||||
dependencies.append(('xenforo', '0001_initial'))
|
||||
if 'services.modules.discord' in installed_apps:
|
||||
|
||||
Reference in New Issue
Block a user