[CMF-checkins] CVS: CMF/CMFDefault - Image.py:1.22
Tres Seaver
tseaver@zope.com
Mon, 17 Mar 2003 07:38:52 -0500
Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv25366/CMFDefault
Modified Files:
Image.py
Log Message:
- Fix security assertion (Collector #141).
=== CMF/CMFDefault/Image.py 1.21 => 1.22 ===
--- CMF/CMFDefault/Image.py:1.21 Tue Aug 6 20:53:16 2002
+++ CMF/CMFDefault/Image.py Mon Mar 17 07:38:52 2003
@@ -156,7 +156,7 @@
"""
return "%s %s" % (self.title, self.description)
- security.declarePrivate('manage_beforeDelete')
+ security.declarePrivate('manage_afterAdd')
def manage_afterAdd(self, item, container):
"""Both of my parents have an afterAdd method"""
OFS.Image.Image.manage_afterAdd(self, item, container)