Reporting 1969 as the last login date for active users

deekayen - June 30, 2008 - 15:45
Project:Inactive User
Version:5.x-1.4
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Warning email body is reporting 1969 as the last login date for some users that are actually active:

Hello [edited],

We haven't seen you at [edited] since Dec 31, 1969,
and we miss you! This automatic message is to warn you that your account will
be disabled in 2 weeks unless you come back and visit us before that time.

Please visit us at http://[edited].

Sincerely,
[edited]

I haven't tried to reproduce it yet, but that was forwarded back to me from a user on a live site.

#1

deekayen - July 1, 2008 - 21:40
Priority:critical» normal
Status:active» fixed

No surprise here. It was reporting 1969 for users who had no access timestamp. Attaching the patch I'm going to commit for reference later. The "never" alternate I implemented is a little awkward, but IMO much better than 1969.

AttachmentSize
inactive_user.module-diff-1969.patch7.11 KB

#2

Anonymous (not verified) - July 15, 2008 - 21:42
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.