Yes, that's what I am doing (I'm doing it at the model.php (core) because I'm working only with stables releases for production) but I would like to know if someone else consider it a mistake so I'll post a ticket and a patch for it.
Regards, Pablo Viojo [email protected] http://pviojo.net (#260 y creciendo!) ------------------------------------------------------------ Ayudar nos hace felices! http://needish.com - http://helperman.org On Tue, Mar 24, 2009 at 11:36 PM, mscdex <[email protected]> wrote: > > On Mar 24, 6:36 pm, Pablo Viojo <[email protected]> wrote: > > Can someone illuminate me about afterFind being called on find('count,..) > > I consider it's a mistake, because normally you would'nt do anything with > > it, or something completely different than an find all or find first. > > I know it's not really an explanation, but you could possibly prevent > this from happening by overriding the find function in either specific > models or app_model. In it you could just set the 'callbacks' option > to false if it wasn't already set in the options array passed in. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
