From feaa64507183c6bedac790f5c3986cda191a5c3e Mon Sep 17 00:00:00 2001
From: lbsa71
Date: Fri, 20 Mar 2009 06:49:12 +0000
Subject: * De-duplicated login service some more * Normalized
m_inventoryService * Pulled AddActiveGestures up
---
.../Grid/UserServer.Modules/UserLoginService.cs | 29 ----------------------
1 file changed, 29 deletions(-)
(limited to 'OpenSim/Grid/UserServer.Modules/UserLoginService.cs')
diff --git a/OpenSim/Grid/UserServer.Modules/UserLoginService.cs b/OpenSim/Grid/UserServer.Modules/UserLoginService.cs
index f7ee8ef..f3287a7 100644
--- a/OpenSim/Grid/UserServer.Modules/UserLoginService.cs
+++ b/OpenSim/Grid/UserServer.Modules/UserLoginService.cs
@@ -53,8 +53,6 @@ namespace OpenSim.Grid.UserServer.Modules
{
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
- protected IInterServiceInventoryServices m_inventoryService;
-
public event UserLoggedInAtLocation OnUserLoggedInAtLocation;
private UserLoggedInAtLocation handlerUserLoggedInAtLocation;
@@ -244,33 +242,6 @@ namespace OpenSim.Grid.UserServer.Modules
}
}
- ///
- /// Add active gestures of the user to the login response.
- ///
- ///
- /// A
- ///
- ///
- /// A
- ///
- protected override void AddActiveGestures(LoginResponse response, UserProfileData theUser)
- {
- List gestures = m_inventoryService.GetActiveGestures(theUser.ID);
- //m_log.DebugFormat("[LOGIN]: AddActiveGestures, found {0}", gestures == null ? 0 : gestures.Count);
- ArrayList list = new ArrayList();
- if (gestures != null)
- {
- foreach (InventoryItemBase gesture in gestures)
- {
- Hashtable item = new Hashtable();
- item["item_id"] = gesture.ID.ToString();
- item["asset_id"] = gesture.AssetID.ToString();
- list.Add(item);
- }
- }
- response.ActiveGestures = list;
- }
-
protected override bool PrepareLoginToRegion(RegionInfo regionInfo, UserProfileData user, LoginResponse response)
{
return PrepareLoginToRegion(RegionProfileData.FromRegionInfo(regionInfo), user, response);
--
cgit v1.1