I'm not into including this on the CakePHP core, it is so simple to add it by yourself that it is pointless adding it to the core.
Soft deletes are for certain occasions while hard deletes are the most common thing. Other than that thanks for taking the effort to propose a new functionality to the community. -MI --------------------------------------------------------------------------- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! blog: http://www.MarianoIglesias.com.ar -----Mensaje original----- De: [email protected] [mailto:[EMAIL PROTECTED] En nombre de Jon Bennett Enviado el: MiƩrcoles, 07 de Febrero de 2007 08:08 a.m. Para: [email protected] Asunto: softDelete, would anyone find useful enough.... ... to add to core? At present if a table has created and modifed fields, these are updated automatically, we could expand on this to include a deleted field, then add an extra param to Model->del($id,$cascade,$soft) and if $soft is true, it would first check the field exists with hasField, and then set the datetime. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
