Commit 28cb34db authored by Vincent Pelletier's avatar Vincent Pelletier

Automaticaly create portal_memcache tool at site creation.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11619 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 48501ac2
...@@ -1010,6 +1010,8 @@ class ERP5Generator(PortalGenerator): ...@@ -1010,6 +1010,8 @@ class ERP5Generator(PortalGenerator):
addTool = p.manage_addProduct['ERP5Type'].manage_addTool addTool = p.manage_addProduct['ERP5Type'].manage_addTool
if not p.hasObject('portal_caches'): if not p.hasObject('portal_caches'):
addTool('ERP5 Cache Tool', None) addTool('ERP5 Cache Tool', None)
if not p.hasObject('portal_memcached'):
addTool('ERP5 Memcached Tool', None)
try: try:
addTool = p.manage_addProduct['ERP5Subversion'].manage_addTool addTool = p.manage_addProduct['ERP5Subversion'].manage_addTool
......
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