Fix #1480 -- Remove apparently obsolete code

This commit is contained in:
Raphael Michel
2019-11-08 16:13:23 +01:00
parent 2d066e3b5e
commit df3cc1499f
2 changed files with 0 additions and 4 deletions

View File

@@ -62,7 +62,6 @@ class ItemViewSet(ConditionalListView, viewsets.ModelViewSet):
def get_serializer_context(self):
ctx = super().get_serializer_context()
ctx['event'] = self.request.event
ctx['has_variations'] = self.request.data.get('has_variations')
return ctx
def perform_update(self, serializer):