[CMF-checkins] CVS: CMF/CMFDefault - Link.py:1.23

Tres Seaver tseaver@zope.com
Fri, 2 Aug 2002 14:26:52 -0400


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

Modified Files:
	Link.py 
Log Message:
 - Merge with extreme prejudice from 1.3 branch.

=== CMF/CMFDefault/Link.py 1.22 => 1.23 ===
                                         + '?manage_tabs_message=Link+updated'
                                         )
 
-    security.declareProtected( CMFCorePermissions.ModifyPortalContent
-                             , 'manage_edit' )
-    manage_edit = DTMLFile( 'zmi_editLink', _dtmldir )
-
-    security.declareProtected( CMFCorePermissions.ModifyPortalContent
-                             , 'manage_editLink' )
-    def manage_editLink( self, remote_url, REQUEST=None ):
-        """
-            Update the Link via the ZMI.
-        """
-        self._edit( remote_url )
-        if REQUEST is not None:
-            REQUEST['RESPONSE'].redirect( self.absolute_url()
-                                        + '/manage_edit'
-                                        + '?manage_tabs_message=Link+updated'
-                                        )
-
     security.declarePrivate( '_edit' )
     def _edit( self, remote_url ):
         """