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, "[email protected]"
<[email protected]> 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 <[email protected]> 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 <[email protected]> wrote:
>
> > > Thank you.
>
> > > On Mar 21, 11:51 pm, mscdex <[email protected]> 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 [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