[CMF-checkins] CVS: CMF - DiscussionItem.py:1.9 Document.py:1.5 Favorite.py:1.5 File.py:1.5 Image.py:1.4 Link.py:1.3 NewsItem.py:1.3
Jeffrey Shell
jeffrey@digicool.com
Thu, 29 Mar 2001 10:49:01 -0500 (EST)
Update of /cvs-repository/CMF/CMFDefault
In directory korak:/home/jeffrey/InstanceHomes/cmf-dev/CMF/CMFDefault
Modified Files:
DiscussionItem.py Document.py Favorite.py File.py Image.py
Link.py NewsItem.py
Log Message:
Removed calls to registerPortalContent
--- Updated File DiscussionItem.py in package CMF --
--- DiscussionItem.py 2001/03/27 23:42:23 1.8
+++ DiscussionItem.py 2001/03/29 15:48:59 1.9
@@ -359,9 +359,3 @@
Globals.default__class_init__(DiscussionItemContainer)
-from Products.CMFCore.register import registerPortalContent
-registerPortalContent(DiscussionItem,
- constructors=(addDiscussionItem,),
- action="",
- icon="discussionitem.gif",
- productGlobals=globals())
--- Updated File Document.py in package CMF --
--- Document.py 2001/03/23 20:25:29 1.4
+++ Document.py 2001/03/29 15:48:59 1.5
@@ -272,9 +272,3 @@
Globals.default__class_init__(Document)
-from Products.CMFCore.register import registerPortalContent
-registerPortalContent(Document,
- constructors=(addDocument,),
- action='Wizards/Document',
- icon="document.gif",
- productGlobals=globals())
--- Updated File Favorite.py in package CMF --
--- Favorite.py 2001/03/02 20:12:07 1.4
+++ Favorite.py 2001/03/29 15:48:59 1.5
@@ -157,9 +157,3 @@
Globals.default__class_init__(Link)
-from Products.CMFCore.register import registerPortalContent
-registerPortalContent(Favorite,
- constructors=(addFavorite,),
- action='Wizards/Link',
- icon="link.gif",
- productGlobals=globals())
--- Updated File File.py in package CMF --
--- File.py 2001/03/04 23:01:49 1.4
+++ File.py 2001/03/29 15:48:59 1.5
@@ -239,11 +239,3 @@
Globals.default__class_init__(File)
-# PortalContent classes need to be registered. This installs the
-# class's factory method and icon.
-from Products.CMFCore.register import registerPortalContent
-registerPortalContent(File, # The class to be registered
- constructors=(addFile,), # It's factory (constructor)
- action='Wizards/File', # The URL of it's add interface
- icon="file.gif", # Filename to take icon from
- productGlobals=globals())
--- Updated File Image.py in package CMF --
--- Image.py 2001/03/02 20:12:57 1.3
+++ Image.py 2001/03/29 15:48:59 1.4
@@ -233,11 +233,3 @@
Globals.default__class_init__(Image)
-# PortalContent classes need to be registered. This installs the
-# class's factory method and icon.
-from Products.CMFCore.register import registerPortalContent
-registerPortalContent(Image, # The class to be registered
- constructors=(addImage,), # It's factory (constructor)
- action='Wizards/Image', # The URL of it's add interface
- icon="image.gif", # Filename to take icon from
- productGlobals=globals())
--- Updated File Link.py in package CMF --
--- Link.py 2001/02/27 21:51:01 1.2
+++ Link.py 2001/03/29 15:48:59 1.3
@@ -160,9 +160,3 @@
Globals.default__class_init__(Link)
-from Products.CMFCore.register import registerPortalContent
-registerPortalContent(Link,
- constructors=(addLink,),
- action='Wizards/Link',
- icon="link.gif",
- productGlobals=globals())
--- Updated File NewsItem.py in package CMF --
--- NewsItem.py 2001/02/27 21:51:01 1.2
+++ NewsItem.py 2001/03/29 15:48:59 1.3
@@ -222,9 +222,3 @@
Globals.default__class_init__(NewsItem)
-from Products.CMFCore.register import registerPortalContent
-registerPortalContent(NewsItem,
- constructors=(addNewsItem,),
- action='Wizards/NewsItem',
- icon="newsitem.gif",
- productGlobals=globals())