Commit e681647e authored by Matt Tucker's avatar Matt Tucker Committed by matt

Fixed loading users.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@276 b35dd754-fafc-0310-a699-88a17e54d16e
parent 60f59e3d
......@@ -57,9 +57,9 @@ public class DbUserInfoProvider implements UserInfoProvider {
// databases pad with extra characters when returning the data.
userInfo = new BasicUserInfo(username,
rs.getString(1), // name
rs.getString(3), // email
new java.util.Date(Long.parseLong(rs.getString(5).trim())), // creation date
new java.util.Date(Long.parseLong(rs.getString(6).trim()))); // modification date
rs.getString(2), // email
new java.util.Date(Long.parseLong(rs.getString(3).trim())), // creation date
new java.util.Date(Long.parseLong(rs.getString(4).trim()))); // modification date
}
catch (SQLException e) {
......
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