Commit b5850666 authored by Nigel McNie's avatar Nigel McNie
Browse files

When creating the user object, set the default lastlogin time to null, not 0....

When creating the user object, set the default lastlogin time to null, not 0. They mean two different things.

'null' means 'user never logged in'. 0 means 'user last logged in Jan 1 1970'.
parent 91601e1e
......@@ -61,7 +61,7 @@ class User {
'deleted' => 0,
'expiry' => null,
'expirymailsent' => 0,
'lastlogin' => 0,
'lastlogin' => null,
'lastauthinstance' => null,
'inactivemailsent' => 0,
'staff' => 0,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment