[CMF-checkins] SVN: CMF/trunk/CMFCore/ - removed obsolete and
broken manage_addPortalFolderForm
Yvo Schubbe
y.2006_ at wcm-solutions.de
Mon May 29 10:23:05 EDT 2006
Log message for revision 68345:
- removed obsolete and broken manage_addPortalFolderForm
Changed:
U CMF/trunk/CMFCore/PortalFolder.py
U CMF/trunk/CMFCore/__init__.py
-=-
Modified: CMF/trunk/CMFCore/PortalFolder.py
===================================================================
--- CMF/trunk/CMFCore/PortalFolder.py 2006-05-29 14:19:25 UTC (rev 68344)
+++ CMF/trunk/CMFCore/PortalFolder.py 2006-05-29 14:23:04 UTC (rev 68345)
@@ -22,7 +22,6 @@
from AccessControl import ClassSecurityInfo
from AccessControl import getSecurityManager
from Acquisition import aq_parent, aq_inner, aq_base
-from Globals import DTMLFile
from Globals import InitializeClass
from OFS.OrderSupport import OrderSupport
from OFS.Folder import Folder
@@ -49,7 +48,7 @@
class PortalFolderBase(DynamicType, CMFCatalogAware, Folder):
- """Base class for portal folder
+ """Base class for portal folder.
"""
meta_type = 'Portal Folder Base'
@@ -462,9 +461,9 @@
class PortalFolder(OrderSupport, PortalFolderBase):
+
+ """Implements portal content management, but not UI details.
"""
- Implements portal content management, but not UI details.
- """
meta_type = 'Portal Folder'
portal_type = 'Folder'
@@ -488,7 +487,9 @@
InitializeClass(PortalFolder)
+manage_addPortalFolder = PortalFolder.manage_addPortalFolder.im_func
+
class ContentFilter:
"""
Represent a predicate against a content object's metadata.
@@ -595,6 +596,3 @@
Return a stringified description of the filter.
"""
return '; '.join(self.description)
-
-manage_addPortalFolder = PortalFolder.manage_addPortalFolder.im_func
-manage_addPortalFolderForm = DTMLFile( 'folderAdd', globals() )
Modified: CMF/trunk/CMFCore/__init__.py
===================================================================
--- CMF/trunk/CMFCore/__init__.py 2006-05-29 14:19:25 UTC (rev 68344)
+++ CMF/trunk/CMFCore/__init__.py 2006-05-29 14:23:04 UTC (rev 68345)
@@ -63,10 +63,6 @@
z_bases = utils.initializeBasesPhase1(bases, this_module)
z_tool_bases = utils.initializeBasesPhase1(tools, this_module)
-FolderConstructorForm = ( 'manage_addPortalFolderForm'
- , PortalFolder.manage_addPortalFolderForm
- )
-
cmfcore_globals=globals()
_CONTENT_TYPES = ( PortalFolder.PortalFolder
More information about the CMF-checkins
mailing list