Skip to content

Commit

Permalink
Do not remove author of gprot when it is blocked
Browse files Browse the repository at this point in the history
  • Loading branch information
timonegk committed Aug 3, 2023
1 parent e7d29b7 commit be210f8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mafiasi/gprot/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def block_view(self, request, object_id):
messages.error(request, "Cannot block, not a PDF")
else:
to_block.published = False
to_block.owner = None
to_block.save()
pdf_filefield = to_block.content_pdf
if not pdf_filefield:
Expand Down

0 comments on commit be210f8

Please sign in to comment.