mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #07881
[Bug 907919] A change has been merged
Reviewed: https://reviews.mahara.org/956
Committed: http://gitorious.org/mahara/mahara/commit/75c26d47575607ce1599e89793ec3d4276ea2e2d
Submitter: Francois Marier (francois@xxxxxxxxxxxxxxx)
Branch: master
commit 75c26d47575607ce1599e89793ec3d4276ea2e2d
Author: Richard Mansfield <richard.mansfield@xxxxxxxxxxxxxxx>
Date: Thu Dec 22 17:03:57 2011 +1300
Convert all time fields in get_user (bug #907919)
The get_user function only converts two of the timestamp db columns
into unix timestamps. None of the additional fields are used yet, but
all should be converted the same way to avoid nasty surprises.
Change-Id: Ie40797136c68ea7501aace3b0fa41f75bbba64f7
Signed-off-by: Richard Mansfield <richard.mansfield@xxxxxxxxxxxxxxx>
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/907919
Title:
Bugs in expiry/inactivity due to bad time formatting
Status in Mahara ePortfolio:
In Progress
Bug description:
When reloading a user account's expiry date from the db into $USER,
the time is not converted to the correct format, causing users to be
unable to login even when their expiry date is in the future.
Also, the get_user function fails to convert db timestamps to unix
timestamps for some fields. This will interfere with the update of
the 'active' flag if we want to base inactivity on lastaccess and/or
ctime as well as lastlogin.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/907919/+subscriptions
References