[CMF-checkins] CVS: CMF - PortalFolder.py:1.9
shane@digicool.com
shane@digicool.com
Tue, 15 May 2001 13:29:25 -0400 (EDT)
Update of /cvs-repository/CMF/CMFCore
In directory korak.digicool.com:/tmp/cvs-serv31641
Modified Files:
PortalFolder.py
Log Message:
Removed all_meta_types() method, which is now redundant.
--- Updated File PortalFolder.py in package CMF --
--- PortalFolder.py 2001/04/10 04:00:04 1.8
+++ PortalFolder.py 2001/05/15 17:29:24 1.9
@@ -144,24 +144,6 @@
self.id = id
self.title = title
- def all_meta_types( self ):
- names = {}
- types = []
-
-## for cmt in self.content_meta_types:
-## names[ cmt[ 'name' ] ] = 1
-## types.append( cmt )
-
- superTypes = PortalFolder.inheritedAttribute(
- 'all_meta_types' )( self )
-
- for smt in superTypes:
- if not names.has_key( smt[ 'name' ] ):
- names[ smt[ 'name' ] ] = 1
- types.append( smt )
-
- return tuple( types )
-
security.declareProtected(CMFCorePermissions.ManageProperties, 'edit')
def edit(self, title='', description=''):
"""