Commit 58963432 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Revert the previous change partially, because setupUserFolder must be overriden.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@918 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 99e95142
...@@ -415,6 +415,14 @@ class ERP5Generator(PortalGenerator): ...@@ -415,6 +415,14 @@ class ERP5Generator(PortalGenerator):
# portal_catalog.reindexObject(p.portal_activities) # portal_catalog.reindexObject(p.portal_activities)
#p[MembershipTool.membersfolder_id].immediateReindexObject() #p[MembershipTool.membersfolder_id].immediateReindexObject()
def setupUserFolder(self, p):
try:
# Use NuxUserGroups instead of the standard acl_users.
p.manage_addProduct['NuxUserGroups'].manage_addUserFolderWithGroups()
except:
# No way.
PortalGenerator.setupUserFolder(self, p)
def setup(self, p, create_userfolder): def setup(self, p, create_userfolder):
self.setupTools(p) self.setupTools(p)
self.setupMailHost(p) self.setupMailHost(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