8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-25 00:13:45 +00:00

Fix LDAP deletion on single user full archiving.

This commit is contained in:
klafyvel 2019-03-17 19:36:44 +01:00
parent 2e2c72a9c3
commit f69c88d8fe

View file

@ -618,7 +618,7 @@ class User(RevMixin, FieldPermissionModelMixin, AbstractBaseUser,
"""Full Archive = Archive + Service access complete deletion""" """Full Archive = Archive + Service access complete deletion"""
self.archive() self.archive()
self.delete_data() self.delete_data()
LdapUser.objects.filter(name__in=self.pseudo) self.ldap_del()
def unarchive(self): def unarchive(self):
"""Unfilling the user""" """Unfilling the user"""