Commit 0a844b37 authored by Jérome Perrin's avatar Jérome Perrin

clear cache after importing categories

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24597 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e250ec86
...@@ -187,6 +187,8 @@ if not keep_existing_category:\n ...@@ -187,6 +187,8 @@ if not keep_existing_category:\n
category_id = category.getId()\n category_id = category.getId()\n
parent.deleteContent(category_id)\n parent.deleteContent(category_id)\n
\n \n
context.portal_caches.clearAllCache()\n
\n
if detailed_report:\n if detailed_report:\n
# Return a detailed report if requested\n # Return a detailed report if requested\n
return \'\\n\'.join(detailed_report_result)\n return \'\\n\'.join(detailed_report_result)\n
......
1020 1021
\ 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