Commit f0d09d32 authored by Łukasz Nowak's avatar Łukasz Nowak

- add XXX to be solved


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35626 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a78e3688
...@@ -53,7 +53,8 @@ ...@@ -53,7 +53,8 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>document = state_change[\'object\']\n <value> <string># XXX-Luke: Seb pointed out that this is very bad idea to clear cache.\n
document = state_change[\'object\']\n
if document.getReference() is not None:\n if document.getReference() is not None:\n
cache_tool = document.getPortalObject().portal_caches\n cache_tool = document.getPortalObject().portal_caches\n
cache_tool.clearCache(cache_factory_list=(\'erp5_content_short\', ))\n cache_tool.clearCache(cache_factory_list=(\'erp5_content_short\', ))\n
......
755 756
\ No newline at end of file \ 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