Mantis#1960. Thank you kindly, Tyre for a patch that:

This small patch enables updates to the lastLogin information in the `users` table
0.6.0-stable
Charles Krinke 2008-08-16 20:02:51 +00:00
parent a6fdcffa3b
commit 701ee43e46
1 changed files with 3 additions and 0 deletions

View File

@ -292,6 +292,8 @@ namespace OpenSim.Framework.Communications
return logResponse.CreateDeadRegionResponse(); return logResponse.CreateDeadRegionResponse();
//return logResponse.ToXmlRpcResponse(); //return logResponse.ToXmlRpcResponse();
} }
userProfile.LastLogin = userProfile.CurrentAgent.LoginTime;
CommitAgent(ref userProfile); CommitAgent(ref userProfile);
// If we reach this point, then the login has successfully logged onto the grid // If we reach this point, then the login has successfully logged onto the grid
@ -464,6 +466,7 @@ namespace OpenSim.Framework.Communications
return logResponse.CreateDeadRegionResponseLLSD(); return logResponse.CreateDeadRegionResponseLLSD();
} }
userProfile.LastLogin = userProfile.CurrentAgent.LoginTime;
CommitAgent(ref userProfile); CommitAgent(ref userProfile);
// If we reach this point, then the login has successfully logged onto the grid // If we reach this point, then the login has successfully logged onto the grid