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

This small patch enables updates to the lastLogin information in the `users` table
This commit is contained in:
Charles Krinke
2008-08-16 20:02:51 +00:00
parent a6fdcffa3b
commit 701ee43e46

View File

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