Yes, this seems to work. Nevertheless it's strange that the beforeDelete and afterDelete methods are being invoked, but the delete-method itself isn't. I'd expect a (in this case) Photo to be deleted using it's own delete-method. What would be the reason this isn't working like that?
Another curious thing: when I do pr($this) in beforeDelete, 'id' contains the id, so this->id =99, but when I pr(this) in afterDelete, this->id contains an array: this->id=array(0=>99)... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
