Skip to content
Snippets Groups Projects
Commit 61865b8c authored by Piotr Gawron's avatar Piotr Gawron
Browse files

unused code removed

parent 35348b05
No related branches found
No related tags found
1 merge request!74Unit tests
...@@ -78,9 +78,6 @@ class Worker(models.Model): ...@@ -78,9 +78,6 @@ class Worker(models.Model):
@staticmethod @staticmethod
def get_details(the_user): def get_details(the_user):
if not the_user.is_authenticated:
return 'Guest', 'Test account'
person = Worker.objects.filter(user=the_user) person = Worker.objects.filter(user=the_user)
if len(person) == 0: if len(person) == 0:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment