fix comment not deleted
This commit is contained in:
parent
dc5ef331f7
commit
04d5b77e25
1 changed files with 4 additions and 0 deletions
|
@ -182,6 +182,10 @@ class Mark:
|
|||
if last_shelf_type:
|
||||
Takahe.delete_posts(self.shelfmember.all_post_ids)
|
||||
self.shelfmember.log_and_delete()
|
||||
if self.comment:
|
||||
self.comment.delete()
|
||||
if self.rating:
|
||||
self.rating.delete()
|
||||
return
|
||||
# create/update shelf member and shelf log if necessary
|
||||
if last_shelf_type == shelf_type:
|
||||
|
|
Loading…
Add table
Reference in a new issue