From 5b69872655792bd75f7caa528c773efe5923a6e5 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sun, 30 Sep 2012 06:51:49 -0700 Subject: Made a method of GridUserService virtual so it can be overridden. --- OpenSim/Services/UserAccountService/GridUserService.cs | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/OpenSim/Services/UserAccountService/GridUserService.cs b/OpenSim/Services/UserAccountService/GridUserService.cs index ac3d8fd..43fa04b 100644 --- a/OpenSim/Services/UserAccountService/GridUserService.cs +++ b/OpenSim/Services/UserAccountService/GridUserService.cs @@ -49,7 +49,7 @@ namespace OpenSim.Services.UserAccountService m_log.Debug("[USER GRID SERVICE]: Starting user grid service"); } - public GridUserInfo GetGridUserInfo(string userID) + public virtual GridUserInfo GetGridUserInfo(string userID) { GridUserData d = m_Database.Get(userID); @@ -122,17 +122,6 @@ namespace OpenSim.Services.UserAccountService return m_Database.Store(d); } - protected bool StoreGridUserInfo(GridUserInfo info) - { - GridUserData d = new GridUserData(); - - d.Data["HomeRegionID"] = info.HomeRegionID.ToString(); - d.Data["HomePosition"] = info.HomePosition.ToString(); - d.Data["HomeLookAt"] = info.HomeLookAt.ToString(); - - return m_Database.Store(d); - } - public bool SetHome(string userID, UUID homeID, Vector3 homePosition, Vector3 homeLookAt) { GridUserData d = m_Database.Get(userID); -- cgit v1.1