Skip to main content

edx-platform - How to delete a comment thread in discussion

Right now, there is no UI for deleting a comment  thread in a course in Open EdX, you have to do it at the server side:

1. Get the comment thread ID by looking at the URL, for example:

2. Go the the server, access the mongodb cli, delete the comment by ID:

edxapp@demo:~/edx-platform$ mongo
MongoDB shell version: 2.4.10
connecting to: test
Welcome to the MongoDB shell.
For interactive help, type "help".
For more comprehensive documentation, see
Questions? Try the support group

> use cs_comments_service_development
switched to db cs_comments_service_development

db.contents.remove({"_id": ObjectId("53b0eeec1240cdb524333331")})

P/S: I also updated this to the documentation of OpenEdX's comment service: