Mantis#1960. Thank you kindly, Tyre for a patch that:
This small patch enables updates to the lastLogin information in the `users` table0.6.0-stable
parent
a6fdcffa3b
commit
701ee43e46
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue