mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-10 13:00:16 +02:00
Correct disable_market to not require external DB call
This commit is contained in:
parent
04a11b113a
commit
bba36d9ae0
@ -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()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user