Commit ba5cbb64 by David Ormsbee Committed by Clinton Blackburn

Add course publish signal to old Mongo modulestore.

parent 574319fa
......@@ -722,6 +722,8 @@ class DraftModuleStore(MongoModuleStore):
# Now it's been published, add the object to the courseware search index so that it appears in search results
CoursewareSearchIndexer.add_to_search_index(self, location)
if self.signal_handler:
self.signal_handler.send("course_published", course_key=location.course_key)
return self.get_item(as_published(location))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment