diff options
author | Diva Canto | 2013-07-04 08:47:45 -0700 |
---|---|---|
committer | Diva Canto | 2013-07-04 08:47:45 -0700 |
commit | 27cdfb7b840423cf8cee08988dc487eeb34d71c7 (patch) | |
tree | 200961805a3220208df7051579b2656fedb521fd /OpenSim/Services/Friends | |
parent | Squoosh one last opportunity for Unknown Users to creep in. (diff) | |
download | opensim-SC_OLD-27cdfb7b840423cf8cee08988dc487eeb34d71c7.zip opensim-SC_OLD-27cdfb7b840423cf8cee08988dc487eeb34d71c7.tar.gz opensim-SC_OLD-27cdfb7b840423cf8cee08988dc487eeb34d71c7.tar.bz2 opensim-SC_OLD-27cdfb7b840423cf8cee08988dc487eeb34d71c7.tar.xz |
HG Friends: debug an issue where the friends data stored in the DB is incomplete.
Diffstat (limited to 'OpenSim/Services/Friends')
-rw-r--r-- | OpenSim/Services/Friends/FriendsService.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Services/Friends/FriendsService.cs b/OpenSim/Services/Friends/FriendsService.cs index e2033ac..dd3f733 100644 --- a/OpenSim/Services/Friends/FriendsService.cs +++ b/OpenSim/Services/Friends/FriendsService.cs | |||
@@ -29,6 +29,7 @@ using OpenMetaverse; | |||
29 | using OpenSim.Framework; | 29 | using OpenSim.Framework; |
30 | using System; | 30 | using System; |
31 | using System.Collections.Generic; | 31 | using System.Collections.Generic; |
32 | using System.Reflection; | ||
32 | using OpenSim.Services.Interfaces; | 33 | using OpenSim.Services.Interfaces; |
33 | using OpenSim.Data; | 34 | using OpenSim.Data; |
34 | using Nini.Config; | 35 | using Nini.Config; |
@@ -39,7 +40,12 @@ namespace OpenSim.Services.Friends | |||
39 | { | 40 | { |
40 | public class FriendsService : FriendsServiceBase, IFriendsService | 41 | public class FriendsService : FriendsServiceBase, IFriendsService |
41 | { | 42 | { |
42 | public FriendsService(IConfigSource config) : base(config) | 43 | private static readonly ILog m_log = |
44 | LogManager.GetLogger( | ||
45 | MethodBase.GetCurrentMethod().DeclaringType); | ||
46 | |||
47 | public FriendsService(IConfigSource config) | ||
48 | : base(config) | ||
43 | { | 49 | { |
44 | } | 50 | } |
45 | 51 | ||
@@ -98,6 +104,7 @@ namespace OpenSim.Services.Friends | |||
98 | d.Data = new Dictionary<string, string>(); | 104 | d.Data = new Dictionary<string, string>(); |
99 | d.Data["Flags"] = flags.ToString(); | 105 | d.Data["Flags"] = flags.ToString(); |
100 | 106 | ||
107 | m_log.DebugFormat("[FRIENDS]: Storing {0} {1}", PrincipalID, Friend); | ||
101 | return m_Database.Store(d); | 108 | return m_Database.Store(d); |
102 | } | 109 | } |
103 | 110 | ||