Commit 06b79d5e authored by Sebastien Robin's avatar Sebastien Robin

create tables fro CMFActivity


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@725 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e67f65e6
...@@ -256,7 +256,7 @@ class ERP5Generator(PortalGenerator): ...@@ -256,7 +256,7 @@ class ERP5Generator(PortalGenerator):
# Add Activity Tool # Add Activity Tool
addTool = p.manage_addProduct['CMFActivity'].manage_addTool addTool = p.manage_addProduct['CMFActivity'].manage_addTool
#addTool('CMF Activity Tool', None) # Allow user to select active/passive addTool('CMF Activity Tool', None) # Allow user to select active/passive
# Add ERP5 SQL Catalog Tool # Add ERP5 SQL Catalog Tool
addTool = p.manage_addProduct['ERP5Catalog'].manage_addTool addTool = p.manage_addProduct['ERP5Catalog'].manage_addTool
...@@ -428,7 +428,14 @@ class ERP5Generator(PortalGenerator): ...@@ -428,7 +428,14 @@ class ERP5Generator(PortalGenerator):
self.setupDefaultSkins(p) self.setupDefaultSkins(p)
# Initialize Activities # Initialize Activities
#p.portal_skins.activity.SQLDict_createMessageTable() portal_skins = p.portal_skins
try:
portal_skins.activity.SQLDict_dropMessageTable()
portal_skins.activity.SQLQueue_dropMessageTable()
except:
pass
portal_skins.activity.SQLDict_createMessageTable()
portal_skins.activity.SQLQueue_createMessageTable()
# Finish setup # Finish setup
self.setupMembersFolder(p) self.setupMembersFolder(p)
......
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