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