[Zope-CMF] Custom delete function
Gitte Wange
gitte@mmmanager.org
19 Dec 2001 11:58:25 +0100
ons, 2001-12-19 kl. 11:41 skrev seb bacon:
> On Wed, 2001-12-19 at 09:07, Gitte Wange wrote:
> > Hello,
> >
> > I have created a new content type for CMF. This type contains an
> > external file (placed on the filesystem).
> > Now I want to create a "customized" delete function that also delete
> > this external file. But how do I override the default manage_delObjects
> > function ??
>
> Why override it? You could just call a custom delete function which
> finshes up by called manage_delObjects.
Well I just want to make sure that these files gets removed everytime an
object is deleted.
So if you delete it from folder_contents then you are sure of that the
file get's deleted ...
But the other solution will work on my own installation ..
--
Gitte Wange Jensen
Sys Admin, Developer and a lot more
MMmanager.org Aps, Denmark
Phone: +45 29 72 79 72
Email: gitte@mmmanager.org
Web: www.mmmanager.org
ICQ: 26680028
Quote of the day:
Give it your worst. After you recover from being hung-over, of course.
- Linus Torvalds