mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-11 01:26:22 +01:00
Correct disable_market to not require external DB call
This commit is contained in:
@@ -133,7 +133,6 @@ def disable_market():
|
|||||||
for auth in AuthServicesInfo.objects.all():
|
for auth in AuthServicesInfo.objects.all():
|
||||||
if auth.market_username:
|
if auth.market_username:
|
||||||
logger.info("Clearing %s market username" % auth.user)
|
logger.info("Clearing %s market username" % auth.user)
|
||||||
marketManager.disable_user(auth.market_username)
|
|
||||||
auth.market_username = ''
|
auth.market_username = ''
|
||||||
auth.save()
|
auth.save()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user