aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs12
-rw-r--r--OpenSim/Framework/Communications/InventoryServiceBase.cs4
2 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
index 17d9ae4..fcfb53a 100644
--- a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
+++ b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
@@ -133,6 +133,18 @@ namespace OpenSim.Framework.Communications.Cache
133 } 133 }
134 } 134 }
135 135
136 /// <summary>
137 /// Handle a client request to update the inventory folder
138 ///
139 /// FIXME: We call add new inventory folder because in the data layer, we happen to use an SQL REPLACE
140 /// so this will work to rename an existing folder. Needless to say, to rely on this is very confusing,
141 /// and needs to be changed.
142 /// </summary>
143 /// <param name="remoteClient"></param>
144 /// <param name="folderID"></param>
145 /// <param name="type"></param>
146 /// <param name="name"></param>
147 /// <param name="parentID"></param>
136 public void HandleUpdateInventoryFolder(IClientAPI remoteClient, LLUUID folderID, ushort type, string name, 148 public void HandleUpdateInventoryFolder(IClientAPI remoteClient, LLUUID folderID, ushort type, string name,
137 LLUUID parentID) 149 LLUUID parentID)
138 { 150 {
diff --git a/OpenSim/Framework/Communications/InventoryServiceBase.cs b/OpenSim/Framework/Communications/InventoryServiceBase.cs
index d4a501c..c73d45c 100644
--- a/OpenSim/Framework/Communications/InventoryServiceBase.cs
+++ b/OpenSim/Framework/Communications/InventoryServiceBase.cs
@@ -128,6 +128,7 @@ namespace OpenSim.Framework.Communications
128 } 128 }
129 } 129 }
130 130
131 // See IInventoryServices
131 public virtual bool HasInventoryForUser(LLUUID userID) 132 public virtual bool HasInventoryForUser(LLUUID userID)
132 { 133 {
133 return false; 134 return false;
@@ -200,6 +201,9 @@ namespace OpenSim.Framework.Communications
200 201
201 protected void AddFolder(InventoryFolderBase folder) 202 protected void AddFolder(InventoryFolderBase folder)
202 { 203 {
204 m_log.DebugFormat(
205 "[INVENTORY SERVICE BASE]: Adding folder {0}, {1} to {2}", folder.name, folder.folderID, folder.parentID);
206
203 foreach (KeyValuePair<string, IInventoryData> plugin in m_plugins) 207 foreach (KeyValuePair<string, IInventoryData> plugin in m_plugins)
204 { 208 {
205 plugin.Value.addInventoryFolder(folder); 209 plugin.Value.addInventoryFolder(folder);