[CMF-checkins] CVS: Products/CMFDefault - MembershipTool.py:1.12
Tres Seaver
tseaver@digicool.com
Fri, 3 Aug 2001 09:19:10 -0400
Update of /cvs-repository/Products/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv7898
Modified Files:
MembershipTool.py
Log Message:
- Call '_setPortalTypeName' on the right object (Doh!)
=== Products/CMFDefault/MembershipTool.py 1.11 => 1.12 ===
f.changeOwnership(user)
f.manage_setLocalRoles(member_id, ['Owner'])
- f._setPortalTypeName( 'Document' )
# Create Member's home page.
# default_member_content ought to be configurable per
@@ -191,6 +190,8 @@
, (default_member_content % id)
)
+ f.index_html._setPortalTypeName( 'Document' )
+
# Overcome an apparent catalog bug.
f.index_html.reindexObject()