Commit d3ef9f3f authored by Ivan Tyagov's avatar Ivan Tyagov

Modify Discussion Thread which is a logical container of Discussion Post objects.

parent 20530e8c
......@@ -72,6 +72,10 @@ discussion_post = context.newContent(\n
# depending on security model Post can be submited for review\n
portal_status_message = "New post created in background."\n
\n
# a parent thread is actually just a logical container so it\'s modified\n
# whenever a new post is done\n
context.edit(modification_date = DateTime())\n
\n
return context.Base_redirect(form_id,\n
keep_items = dict(portal_status_message=context.Base_translateString(portal_status_message)))\n
</string> </value>
......
101
\ No newline at end of file
102
\ No newline at end of file
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