[CMF-checkins] CVS: CMF/CMFDefault - Portal.py:1.30.4.1

Tres Seaver tseaver@zope.com
Sat, 13 Jul 2002 12:39:28 -0400


Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv4772/CMFDefault

Modified Files:
      Tag: CMF-1_3-branch
	Portal.py 
Log Message:

  
    - Removed the binding of Folder and Topic types to the default
      workflow for newly-created CMFSites (Collector #4).  Note that
      existing sites will still need to remove these bindings manually,
      as indicated in the "Upgrading" section of INSTALL.txt.


=== CMF/CMFDefault/Portal.py 1.30 => 1.30.4.1 ===
         id = 'default_workflow'
         tool._setObject(id, DefaultWorkflowDefinition(id))
 
+        #   These objects don't participate in workflow by default.
+        tool.setChainForPortalTypes( ( 'Folder', 'Topic' ), () )
+
     def setup(self, p, create_userfolder):
         self.setupTools(p)
         self.setupMailHost(p)