diff options
author | Diva Canto | 2010-01-08 20:31:29 -0800 |
---|---|---|
committer | Diva Canto | 2010-01-08 20:31:29 -0800 |
commit | 6b60f3cce5b9dc8c005c9fdb53731dc4e3e45ee8 (patch) | |
tree | 4608042e707df452c7e59363927f5bd87249d34b /OpenSim/Region | |
parent | Add migrations to add fields to user and auth tables (diff) | |
download | opensim-SC_OLD-6b60f3cce5b9dc8c005c9fdb53731dc4e3e45ee8.zip opensim-SC_OLD-6b60f3cce5b9dc8c005c9fdb53731dc4e3e45ee8.tar.gz opensim-SC_OLD-6b60f3cce5b9dc8c005c9fdb53731dc4e3e45ee8.tar.bz2 opensim-SC_OLD-6b60f3cce5b9dc8c005c9fdb53731dc4e3e45ee8.tar.xz |
A few more inches... Old friends things removed. Less references to UserProfileService.
Diffstat (limited to 'OpenSim/Region')
6 files changed, 1 insertions, 54 deletions
diff --git a/OpenSim/Region/Communications/Hypergrid/HGCommunicationsGridMode.cs b/OpenSim/Region/Communications/Hypergrid/HGCommunicationsGridMode.cs index e80f6ab..3486c8b 100644 --- a/OpenSim/Region/Communications/Hypergrid/HGCommunicationsGridMode.cs +++ b/OpenSim/Region/Communications/Hypergrid/HGCommunicationsGridMode.cs | |||
@@ -53,7 +53,6 @@ namespace OpenSim.Region.Communications.Hypergrid | |||
53 | userServices.AddPlugin(new HGUserDataPlugin(this, userServices)); | 53 | userServices.AddPlugin(new HGUserDataPlugin(this, userServices)); |
54 | 54 | ||
55 | m_userService = userServices; | 55 | m_userService = userServices; |
56 | m_messageService = userServices; | ||
57 | m_avatarService = userServices; | 56 | m_avatarService = userServices; |
58 | } | 57 | } |
59 | } | 58 | } |
diff --git a/OpenSim/Region/Communications/Hypergrid/HGCommunicationsStandalone.cs b/OpenSim/Region/Communications/Hypergrid/HGCommunicationsStandalone.cs index 4e3f5a1..d979a01 100644 --- a/OpenSim/Region/Communications/Hypergrid/HGCommunicationsStandalone.cs +++ b/OpenSim/Region/Communications/Hypergrid/HGCommunicationsStandalone.cs | |||
@@ -60,9 +60,7 @@ namespace OpenSim.Region.Communications.Hypergrid | |||
60 | 60 | ||
61 | m_userService = hgUserService; | 61 | m_userService = hgUserService; |
62 | m_userAdminService = hgUserService; | 62 | m_userAdminService = hgUserService; |
63 | m_avatarService = hgUserService; | 63 | m_avatarService = hgUserService; |
64 | m_messageService = hgUserService; | ||
65 | |||
66 | } | 64 | } |
67 | } | 65 | } |
68 | } | 66 | } |
diff --git a/OpenSim/Region/Communications/Local/CommunicationsLocal.cs b/OpenSim/Region/Communications/Local/CommunicationsLocal.cs index eaf996d..4f83fdb 100644 --- a/OpenSim/Region/Communications/Local/CommunicationsLocal.cs +++ b/OpenSim/Region/Communications/Local/CommunicationsLocal.cs | |||
@@ -51,7 +51,6 @@ namespace OpenSim.Region.Communications.Local | |||
51 | m_userService = lus; | 51 | m_userService = lus; |
52 | m_userAdminService = lus; | 52 | m_userAdminService = lus; |
53 | m_avatarService = lus; | 53 | m_avatarService = lus; |
54 | m_messageService = lus; | ||
55 | 54 | ||
56 | //LocalLoginService loginService = CreateLoginService(libraryRootFolder, inventoryService, userService, backendService); | 55 | //LocalLoginService loginService = CreateLoginService(libraryRootFolder, inventoryService, userService, backendService); |
57 | } | 56 | } |
diff --git a/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs b/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs index 94e4ed2..111b7c0 100644 --- a/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs +++ b/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs | |||
@@ -46,7 +46,6 @@ namespace OpenSim.Region.Communications.OGS1 | |||
46 | userServices.AddPlugin(new OGS1UserDataPlugin(this)); | 46 | userServices.AddPlugin(new OGS1UserDataPlugin(this)); |
47 | 47 | ||
48 | m_userService = userServices; | 48 | m_userService = userServices; |
49 | m_messageService = userServices; | ||
50 | m_avatarService = (IAvatarService)m_userService; | 49 | m_avatarService = (IAvatarService)m_userService; |
51 | } | 50 | } |
52 | 51 | ||
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 | |||
3979 | objectCapacity = objects; | 3979 | objectCapacity = objects; |
3980 | } | 3980 | } |
3981 | 3981 | ||
3982 | public List<FriendListItem> GetFriendList(string id) | ||
3983 | { | ||
3984 | UUID avatarID; | ||
3985 | if (!UUID.TryParse(id, out avatarID)) | ||
3986 | return new List<FriendListItem>(); | ||
3987 | |||
3988 | return CommsManager.GetUserFriendList(avatarID); | ||
3989 | } | ||
3990 | |||
3991 | public Dictionary<UUID, FriendRegionInfo> GetFriendRegionInfos(List<UUID> uuids) | ||
3992 | { | ||
3993 | return CommsManager.GetFriendRegionInfos(uuids); | ||
3994 | } | ||
3995 | |||
3996 | public virtual void StoreAddFriendship(UUID ownerID, UUID friendID, uint perms) | ||
3997 | { | ||
3998 | m_sceneGridService.AddNewUserFriend(ownerID, friendID, perms); | ||
3999 | } | ||
4000 | |||
4001 | public virtual void StoreUpdateFriendship(UUID ownerID, UUID friendID, uint perms) | ||
4002 | { | ||
4003 | m_sceneGridService.UpdateUserFriendPerms(ownerID, friendID, perms); | ||
4004 | } | ||
4005 | |||
4006 | public virtual void StoreRemoveFriendship(UUID ownerID, UUID ExfriendID) | ||
4007 | { | ||
4008 | m_sceneGridService.RemoveUserFriend(ownerID, ExfriendID); | ||
4009 | } | ||
4010 | |||
4011 | #endregion | 3982 | #endregion |
4012 | 3983 | ||
4013 | public void HandleObjectPermissionsUpdate(IClientAPI controller, UUID agentID, UUID sessionID, byte field, uint localId, uint mask, byte set) | 3984 | 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 | |||
1455 | m_commsProvider.LogOffUser(userid, regionid, regionhandle, posx, posy, posz); | 1455 | m_commsProvider.LogOffUser(userid, regionid, regionhandle, posx, posy, posz); |
1456 | } | 1456 | } |
1457 | 1457 | ||
1458 | public void AddNewUserFriend(UUID friendlistowner, UUID friend, uint perms) | ||
1459 | { | ||
1460 | m_commsProvider.AddNewUserFriend(friendlistowner, friend, perms); | ||
1461 | } | ||
1462 | |||
1463 | public void UpdateUserFriendPerms(UUID friendlistowner, UUID friend, uint perms) | ||
1464 | { | ||
1465 | m_commsProvider.UpdateUserFriendPerms(friendlistowner, friend, perms); | ||
1466 | } | ||
1467 | |||
1468 | public void RemoveUserFriend(UUID friendlistowner, UUID friend) | ||
1469 | { | ||
1470 | m_commsProvider.RemoveUserFriend(friendlistowner, friend); | ||
1471 | } | ||
1472 | |||
1473 | public List<FriendListItem> GetUserFriendList(UUID friendlistowner) | ||
1474 | { | ||
1475 | return m_commsProvider.GetUserFriendList(friendlistowner); | ||
1476 | } | ||
1477 | 1458 | ||
1478 | public List<AvatarPickerAvatar> GenerateAgentPickerRequestResponse(UUID queryID, string query) | 1459 | public List<AvatarPickerAvatar> GenerateAgentPickerRequestResponse(UUID queryID, string query) |
1479 | { | 1460 | { |