Well, there is other stuff that happens when a user is deactivated. They are sent an e-mail for example...
On Mar 23, 9:02 am, "oliver.pra...@googlemail.com" <oliver.pra...@googlemail.com> wrote: > I dont get why you even have that process of marking them (or how you > Mark them). > Just add a function that checks expiration and put it in the > beforeFilter ... > > On Mar 23, 8:20 am, aman batra <batra_aman2...@yahoo.com> wrote: > > > I think it is a good practice to have a function in User model that > > should serve the required purpose than any other approach. > > > On Mar 22, 2:22 pm, mattalexx <mattal...@gmail.com> wrote: > > > > Thank you. > > > > On Mar 21, 11:51 pm, mscdex <msc...@gmail.com> wrote: > > > > > Sorry, I half-misread your situation. > > > > In my opinion, I would probably add a deactivateExpired function in > > > > the User model that would do the necessary checking and saving. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---