[imp] last login not saved automatically

many at unx.se many at unx.se
Fri Sep 12 13:12:47 PDT 2003


many at unx.se writes:

> Michael M Slusarz <slusarz at bigworm.colorado.edu> writes:
> 
> > Quoting many at unx.se:
> > | My problem:
> > |
> > |  -sent-mail folder being renamed at the start of the month.
> > |  -sent-mail-01-1970 already exists. Your sent-mail folder was not
> > | renamed.
> > |  -Last login: Thu Jan 1 01:00:01 1970
> > |
> > | The above is true for all users logging in who has never made any
> changes
> > | in their options. It seems that once a user has saved some options,
> thier
> > | login time is then automatically updated each login.
> > 
> > Is your 'last_login' preference locked?
> 
> Yes, it is.
> 
> // last login time of user
> $_prefs['last_login'] = array(
>     'value' => 1,
>     'locked' => true,
>     'shared' => false,
>     'type' => 'implicit'

Changing locked to false did the trick.  Don't know why I set it to locked,
guess it sounded better ;-)

Tnx for the hint Michael!

Mackan


More information about the imp mailing list