mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-12 21:06:27 +00:00
Apply 2 suggestion(s) to 2 file(s)
This commit is contained in:
parent
6091f1c187
commit
dc5c44b901
2 changed files with 4 additions and 4 deletions
|
@ -94,8 +94,8 @@ def sync_ldap():
|
|||
synchronise_user(sender=User, instance=u)
|
||||
for lr in ListRight.objects.all():
|
||||
synchronise_usergroup(sender=ListRight, instance=lr)
|
||||
for s in ServiceUser.objects.all():
|
||||
synchronise_serviceuser(sender=ServiceUser, instance=s)
|
||||
for service_user in ServiceUser.objects.all():
|
||||
synchronise_serviceuser(sender=ServiceUser, instance=service_user)
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
|
|
|
@ -42,5 +42,5 @@ class Command(BaseCommand):
|
|||
synchronise_user(sender=User, instance=user)
|
||||
for lr in ListRight.objects.all():
|
||||
synchronise_usergroup(sender=ListRight, instance=lr)
|
||||
for s in ServiceUser.objects.all():
|
||||
synchronise_serviceuser(sender=ServiceUser, instance=s)
|
||||
for service_user in ServiceUser.objects.all():
|
||||
synchronise_serviceuser(sender=ServiceUser, instance=service_user)
|
||||
|
|
Loading…
Reference in a new issue