summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 7185bfda6..2496e4372 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -80,13 +80,11 @@ def post_save_user(sender, **kwargs):
ishtaruser = IshtarUser.create_from_user(user)
else:
ishtaruser = q.all()[0]
- '''
administrator, created = PersonType.objects.get_or_create(
txt_idx='administrator')
if ishtaruser.is_superuser \
and not ishtaruser.has_right('administrator'):
ishtaruser.person.person_types.add(administrator)
- '''
except DatabaseError: # manage when db is not synced
pass
post_save.connect(post_save_user, sender=User)