mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-12 22:10:16 +02:00
Redundant query
That was dumb
This commit is contained in:
parent
3bd40cc57e
commit
0914ac171f
@ -95,7 +95,7 @@ def update_ipboard_groups(user):
|
||||
|
||||
|
||||
def update_teamspeak3_groups(user):
|
||||
usergroups = User.objects.get(id=user.id).groups.all()
|
||||
usergroups = user.groups.all()
|
||||
authserviceinfo = AuthServicesInfo.objects.get(user=user)
|
||||
groups = {}
|
||||
for usergroup in usergroups:
|
||||
|
Loading…
x
Reference in New Issue
Block a user