From 6b60f3cce5b9dc8c005c9fdb53731dc4e3e45ee8 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Fri, 8 Jan 2010 20:31:29 -0800 Subject: A few more inches... Old friends things removed. Less references to UserProfileService. --- OpenSim/Region/Framework/Scenes/Scene.cs | 29 ---------------------- .../Framework/Scenes/SceneCommunicationService.cs | 19 -------------- 2 files changed, 48 deletions(-) (limited to 'OpenSim/Region/Framework/Scenes') diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index e22dd2d..ef62b79 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -3979,35 +3979,6 @@ namespace OpenSim.Region.Framework.Scenes objectCapacity = objects; } - public List GetFriendList(string id) - { - UUID avatarID; - if (!UUID.TryParse(id, out avatarID)) - return new List(); - - return CommsManager.GetUserFriendList(avatarID); - } - - public Dictionary GetFriendRegionInfos(List uuids) - { - return CommsManager.GetFriendRegionInfos(uuids); - } - - public virtual void StoreAddFriendship(UUID ownerID, UUID friendID, uint perms) - { - m_sceneGridService.AddNewUserFriend(ownerID, friendID, perms); - } - - public virtual void StoreUpdateFriendship(UUID ownerID, UUID friendID, uint perms) - { - m_sceneGridService.UpdateUserFriendPerms(ownerID, friendID, perms); - } - - public virtual void StoreRemoveFriendship(UUID ownerID, UUID ExfriendID) - { - m_sceneGridService.RemoveUserFriend(ownerID, ExfriendID); - } - #endregion public void HandleObjectPermissionsUpdate(IClientAPI controller, UUID agentID, UUID sessionID, byte field, uint localId, uint mask, byte set) diff --git a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs index 53693e4..8b14f61 100644 --- a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs @@ -1455,25 +1455,6 @@ namespace OpenSim.Region.Framework.Scenes m_commsProvider.LogOffUser(userid, regionid, regionhandle, posx, posy, posz); } - public void AddNewUserFriend(UUID friendlistowner, UUID friend, uint perms) - { - m_commsProvider.AddNewUserFriend(friendlistowner, friend, perms); - } - - public void UpdateUserFriendPerms(UUID friendlistowner, UUID friend, uint perms) - { - m_commsProvider.UpdateUserFriendPerms(friendlistowner, friend, perms); - } - - public void RemoveUserFriend(UUID friendlistowner, UUID friend) - { - m_commsProvider.RemoveUserFriend(friendlistowner, friend); - } - - public List GetUserFriendList(UUID friendlistowner) - { - return m_commsProvider.GetUserFriendList(friendlistowner); - } public List GenerateAgentPickerRequestResponse(UUID queryID, string query) { -- cgit v1.1