Commit fcf4c00d authored by Ivan Tyagov's avatar Ivan Tyagov

Set contributor to logged in user at end of transaction. This way user editing...

Set contributor to logged in user at end of transaction. This way user editing document gets added in contribute list in next page view (without waiting for activities to fill it in).
Because execution speed of set contributor script is quite minimal and fact that activities due have an overhead this trade off seems acceptable.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32845 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 387b7f00
......@@ -24,9 +24,7 @@
<item>
<key> <string>activate_script_name</string> </key>
<value>
<list>
<string>Document_setContributor</string>
</list>
<tuple/>
</value>
</item>
<item>
......@@ -38,7 +36,9 @@
<item>
<key> <string>before_commit_script_name</string> </key>
<value>
<tuple/>
<list>
<string>Document_setContributor</string>
</list>
</value>
</item>
<item>
......
1064
\ No newline at end of file
1065
\ 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