|
|
Choosing A Webhost: |
CVS: Products/CMFDefault - Portal.py:1.49 __init__.py:1.28: msg#00091web.zope.cmf.cvs
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
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | CVS: Products/CMFDefault - setuphandlers.py:1.2, Yvo Schubbe |
|---|---|
| Next by Date: | CVS: CMF - CHANGES.txt:1.275, Yvo Schubbe |
| Previous by Thread: | CVS: Products/CMFDefault - setuphandlers.py:1.2, Yvo Schubbe |
| Next by Thread: | CVS: CMF - CHANGES.txt:1.275, Yvo Schubbe |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |