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

- clear cache after playing with preferences


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40383 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 82b851c2
......@@ -112,6 +112,8 @@ pref.setPreferredListboxViewModeLineCount(None)\n
pref.setPreferredListboxListModeLineCount(10)\n
if pref.getPreferenceState() == \'disabled\':\n
pref.enable()\n
else:\n
context.portal_caches.clearAllCache()\n
\n
return \'Reset Successfully.\'\n
</string> </value>
......
633
\ No newline at end of file
634
\ 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