Commit 03b134b8 authored by Jérome Perrin's avatar Jérome Perrin

Hook on workflow actions; do not use SQLQueue


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4776 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 40f56e2a
...@@ -64,7 +64,13 @@ FIXME: reindexObjectSecurity is probably not optimal, it may launch unnecessary ...@@ -64,7 +64,13 @@ FIXME: reindexObjectSecurity is probably not optimal, it may launch unnecessary
<key> <string>method_id</string> </key> <key> <string>method_id</string> </key>
<value> <value>
<list> <list>
<string>reindexObjectSecurity</string> <string>plan</string>
<string>confirm</string>
<string>stop</string>
<string>deliver</string>
<string>start</string>
<string>setReady</string>
<string>order</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -66,7 +66,13 @@ ...@@ -66,7 +66,13 @@
<string>manage_delObject</string> <string>manage_delObject</string>
<string>deleteContent</string> <string>deleteContent</string>
<string>_delObject</string> <string>_delObject</string>
<string>reindexObjectSecurity</string> <string>plan</string>
<string>confirm</string>
<string>stop</string>
<string>deliver</string>
<string>start</string>
<string>setReady</string>
<string>order</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -92,7 +92,6 @@ rule_by_ptype = {\n ...@@ -92,7 +92,6 @@ rule_by_ptype = {\n
\n \n
if rule_by_ptype.has_key(delivery_portal_type) : \n if rule_by_ptype.has_key(delivery_portal_type) : \n
delivery.activate(\n delivery.activate(\n
queue="SQLQueue",\n
after_method_id = [ \'immediateReindexObject\',\n after_method_id = [ \'immediateReindexObject\',\n
\'recursiveImmediateReindexObject\',\n \'recursiveImmediateReindexObject\',\n
\'expand\']\n \'expand\']\n
...@@ -105,36 +104,35 @@ LOG(\'END\')\n ...@@ -105,36 +104,35 @@ LOG(\'END\')\n
</item> </item>
<item> <item>
<key> <string>_code</string> </key> <key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAQAAAEAAAABzDQAAAGQBAIQAAFoAAGQAAFMoAgAAAE5jAQAAAAgAAAANAAAAAwAA <value> <string enc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bXVsYXRp
AAAAcxkAAABEZWxpdmVyeV9VcGRhdGVTaW11bGF0aW9uKAAAAAAoAAAAAHMPAAAAU2NyaXB0IChQ b24oAAAAACgAAAAAcw8AAABTY3JpcHQgKFB5dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value>
eXRob24pcwgAAAA8bW9kdWxlPgEAAABzAAAAAA==</string> </value>
</item> </item>
<item> <item>
<key> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
......
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