##// END OF EJS Templates
Don't double check if the global id has content cache during invalidation
neko259 -
r1584:56f421c2 default
parent child Browse files
Show More
@@ -14,7 +14,7 b' class Command(BaseCommand):'
14 count = 0
14 count = 0
15 for global_id in GlobalId.objects.exclude(content__isnull=True).exclude(
15 for global_id in GlobalId.objects.exclude(content__isnull=True).exclude(
16 content=''):
16 content=''):
17 if global_id.is_local() and global_id.content is not None:
17 if global_id.is_local():
18 global_id.content = None
18 global_id.content = None
19 global_id.save()
19 global_id.save()
20 global_id.signature_set.all().delete()
20 global_id.signature_set.all().delete()
General Comments 0
You need to be logged in to leave comments. Login now