Commit 40f1ab48 authored by Yusei Tahara's avatar Yusei Tahara

I revert my previous changes.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19482 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a37c53a6
...@@ -3170,8 +3170,6 @@ class Base( CopyContainer, ...@@ -3170,8 +3170,6 @@ class Base( CopyContainer,
self.isIndexable = 0 self.isIndexable = 0
self.isTemplate = 1 self.isTemplate = 1
# XXX reset security here # XXX reset security here
# Clear cache to display new template in action box.
self.portal_caches.clearCacheFactory('erp5_ui_medium')
security.declareProtected(Permissions.ModifyPortalContent,'makeTemplateInstance') security.declareProtected(Permissions.ModifyPortalContent,'makeTemplateInstance')
def makeTemplateInstance(self): def makeTemplateInstance(self):
......
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