mirror of
https://github.com/opensim/opensim.git
synced 2026-08-03 07:26:16 +08:00
Revert "HG Friends: debug an issue where the friends data stored in the DB is incomplete."
This reverts commit 27cdfb7b84.
This commit is contained in:
@@ -546,7 +546,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||
FriendsService.StoreFriend(agentID.ToString(), theFriendUUID, 1);
|
||||
// and also the converse
|
||||
FriendsService.StoreFriend(theFriendUUID, agentID.ToString(), 1);
|
||||
m_log.DebugFormat("[HGFRIENDS MODULE]: Stored {0} {01}", agentID, theFriendUUID);
|
||||
|
||||
//if (!confirming)
|
||||
//{
|
||||
|
||||
@@ -29,7 +29,6 @@ using OpenMetaverse;
|
||||
using OpenSim.Framework;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Reflection;
|
||||
using OpenSim.Services.Interfaces;
|
||||
using OpenSim.Data;
|
||||
using Nini.Config;
|
||||
@@ -40,12 +39,7 @@ namespace OpenSim.Services.Friends
|
||||
{
|
||||
public class FriendsService : FriendsServiceBase, IFriendsService
|
||||
{
|
||||
private static readonly ILog m_log =
|
||||
LogManager.GetLogger(
|
||||
MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
public FriendsService(IConfigSource config)
|
||||
: base(config)
|
||||
public FriendsService(IConfigSource config) : base(config)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -104,7 +98,6 @@ namespace OpenSim.Services.Friends
|
||||
d.Data = new Dictionary<string, string>();
|
||||
d.Data["Flags"] = flags.ToString();
|
||||
|
||||
m_log.DebugFormat("[FRIENDS]: Storing {0} {1}", PrincipalID, Friend);
|
||||
return m_Database.Store(d);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user