Thanks man...

I did find it right after I posted the message. Cascade !

Thanks again. 

-----Original Message-----
From: Miles J [mailto:[email protected]] 
Sent: March-12-09 7:11 PM
To: CakePHP
Subject: Re: Delete related data


$this->User->delete($id, true);

http://book.cakephp.org/view/516/Deleting-Data
Manual is your friend, simply set cascade to true.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to