[CMF-checkins] CVS: Products/CMFDefault - Portal.py:1.49
__init__.py:1.28
Yvo Schubbe
y.2004_ at wcm-solutions.de
Sun Nov 21 12:05:44 EST 2004
Update of /cvs-repository/Products/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv12357/CMFDefault
Modified Files:
Portal.py __init__.py
Log Message:
- marked 'manage_addCMFSite' as deprecated
=== Products/CMFDefault/Portal.py 1.48 => 1.49 ===
--- Products/CMFDefault/Portal.py:1.48 Sun Oct 31 11:33:24 2004
+++ Products/CMFDefault/Portal.py Sun Nov 21 12:05:44 2004
@@ -15,6 +15,8 @@
$Id$
"""
+from warnings import warn
+
from Globals import HTMLFile
from Globals import InitializeClass
@@ -294,6 +296,9 @@
RESPONSE=None):
""" Adds a portal instance.
"""
+ warn('manage_addCMFSite() is deprecated and will be removed in CMF 1.7. '
+ 'Please use addConfiguredSite() instead.',
+ DeprecationWarning)
gen = PortalGenerator()
id = id.strip()
p = gen.create(self, id, create_userfolder)
=== Products/CMFDefault/__init__.py 1.27 => 1.28 ===
--- Products/CMFDefault/__init__.py:1.27 Thu Nov 18 13:18:53 2004
+++ Products/CMFDefault/__init__.py Sun Nov 21 12:05:44 2004
@@ -119,6 +119,7 @@
, Portal.manage_addCMFSite
)
, icon='portal.gif'
+ , visibility=None
)
registerIcon( DefaultWorkflow.DefaultWorkflowDefinition
More information about the CMF-checkins
mailing list