mirror of
https://github.com/mediacms-io/mediacms.git
synced 2026-04-30 10:26:13 -04:00
wtv
This commit is contained in:
@@ -809,6 +809,8 @@ class MediaBulkUserActions(APIView):
|
||||
embed_qs.delete()
|
||||
if remove_comments:
|
||||
Comment.objects.filter(media__in=all_course_media).delete()
|
||||
if embedded_media_ids:
|
||||
Comment.objects.filter(media_id__in=embedded_media_ids).delete()
|
||||
for m in all_course_media:
|
||||
m.category.remove(category)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user