Add AMQP message when usertext edited.

This commit is contained in:
Neil Williams
2012-06-11 16:25:33 -07:00
parent 9e47bb6db7
commit cbadfdd0c2

View File

@@ -919,6 +919,8 @@ class ApiController(RedditController):
changed(item)
amqp.add_item('usertext_edited', item._fullname)
if kind == 'link':
set_last_modified(item, 'comments')
LastModified.touch(item._fullname, 'Comments')