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
<key> <string>method_id</string> </key>
<value>
<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>
</value>
</item>
......
......@@ -66,7 +66,13 @@
<string>manage_delObject</string>
<string>deleteContent</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>
</value>
</item>
......
......@@ -92,7 +92,6 @@ rule_by_ptype = {\n
\n
if rule_by_ptype.has_key(delivery_portal_type) : \n
delivery.activate(\n
queue="SQLQueue",\n
after_method_id = [ \'immediateReindexObject\',\n
\'recursiveImmediateReindexObject\',\n
\'expand\']\n
......@@ -105,36 +104,35 @@ LOG(\'END\')\n
</item>
<item>
<key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAQAAAEAAAABzDQAAAGQBAIQAAFoAAGQAAFMoAgAAAE5jAQAAAAgAAAANAAAAAwAA
AHP7AAAAdAAAfAAAZAEAgwIAiQAAdAMAiAAAZAIAgwIAgwAAfQQAdAMAfAAAZAMAgwIAgwAAfQUA
<value> <string encoding="base64">YwAAAAAAAAAAAQAAAEAAAABzDQAAAGQBAIQAAFoAAGQAAFMoAgAAAE5jAQAAAAgAAAALAAAAAwAA
AHP1AAAAdAAAfAAAZAEAgwIAiQAAdAMAiAAAZAIAgwIAgwAAfQQAdAMAfAAAZAMAgwIAgwAAfQUA
hwAAZAQAhgAAfQYAZAUAhAAAfQYAfAYAZAYAgwEAAWgAAARkBwBkCAADPARkCQBkCAADPARk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w8AAABhZnRlcl9tZXRob2RfaWRzFgAAAGltbWVkaWF0
ZVJlaW5kZXhPYmplY3RzHwAAAHJlY3Vyc2l2ZUltbWVkaWF0ZVJlaW5kZXhPYmplY3RzBgAAAGV4
cGFuZHMRAAAAdXBkYXRlQXBwbGllZFJ1bGVzBwAAAHJ1bGVfaWRzNgAAAG5vIHJ1bGVfaWQgZm9y
ICVzLCBkb24ndCBrbm93IGhvdyB0byB1cGRhdGVBcHBsaWVkUnVsZXMDAAAARU5EKAgAAABzCQAA
AF9nZXRpdGVtX3MDAAAAc2NpcwgAAABkZWxpdmVyeXMJAAAAX2dldGF0dHJfcxQAAABkZWxpdmVy
eV9wb3J0YWxfdHlwZXMGAAAAcG9ydGFscwMAAABMT0dzDQAAAHJ1bGVfYnlfcHR5cGUoCAAAAHMD
AAAAc2NpcwkAAABfZ2V0aXRlbV9zCAAAAGRlbGl2ZXJ5cwkAAABfZ2V0YXR0cl9zFAAAAGRlbGl2
ZXJ5X3BvcnRhbF90eXBlcwYAAABwb3J0YWxzAwAAAExPR3MNAAAAcnVsZV9ieV9wdHlwZSgAAAAA
KAEAAABzCAAAAGRlbGl2ZXJ5cw8AAABTY3JpcHQgKFB5dGhvbilzGQAAAERlbGl2ZXJ5X1VwZGF0
ZVNpbXVsYXRpb24BAAAAcxoAAAAABw8BEgESAQwBCQIKAzYIGQEMARsDEQIOAigBAAAAcxkAAABE
ZWxpdmVyeV9VcGRhdGVTaW11bGF0aW9uKAEAAABzGQAAAERlbGl2ZXJ5X1VwZGF0ZVNpbXVsYXRp
b24oAAAAACgAAAAAcw8AAABTY3JpcHQgKFB5dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value>
</item>
<item>
<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