Commit 1ae2d391 authored by Jérome Perrin's avatar Jérome Perrin

when creating a template, clear the same cache as the one used by preferences

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44288 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 579fe690
......@@ -82,7 +82,7 @@ paste_info, = preference.manage_pasteObjects(cb_copy_data=cp, is_indexable=False
template = getattr(preference, paste_info[\'new_id\'])\n
template.makeTemplate()\n
\n
context.portal_caches.clearCacheFactory(\'erp5_ui_medium\')\n
context.portal_caches.clearCacheFactory(\'erp5_ui_short\')\n
\n
return context.Base_redirect(form_id,\n
keep_items=dict(portal_status_message=message),\n
......
40930
\ No newline at end of file
40931
\ 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