Commit a6e58159 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Use NuxUserGroups if possible.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@882 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5db87796
...@@ -413,6 +413,14 @@ class ERP5Generator(PortalGenerator): ...@@ -413,6 +413,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