aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/InventoryService
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-05-21 21:00:22 +0100
committerJustin Clark-Casey (justincc)2012-05-21 21:00:22 +0100
commit7e97f0e8989ff1bc7fab80c726dfef23dffc5cca (patch)
tree76eee2fc62319beedd857f474d74a912964aeadc /OpenSim/Services/InventoryService
parentFix bug where outfit folders could not be renamed. (diff)
downloadopensim-SC-7e97f0e8989ff1bc7fab80c726dfef23dffc5cca.zip
opensim-SC-7e97f0e8989ff1bc7fab80c726dfef23dffc5cca.tar.gz
opensim-SC-7e97f0e8989ff1bc7fab80c726dfef23dffc5cca.tar.bz2
opensim-SC-7e97f0e8989ff1bc7fab80c726dfef23dffc5cca.tar.xz
minor: extend commented out LinkInventoryItem log message for future use
Diffstat (limited to 'OpenSim/Services/InventoryService')
-rw-r--r--OpenSim/Services/InventoryService/XInventoryService.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Services/InventoryService/XInventoryService.cs b/OpenSim/Services/InventoryService/XInventoryService.cs
index 2ce1bab..3355428 100644
--- a/OpenSim/Services/InventoryService/XInventoryService.cs
+++ b/OpenSim/Services/InventoryService/XInventoryService.cs
@@ -302,7 +302,8 @@ namespace OpenSim.Services.InventoryService
302 302
303 public virtual bool AddFolder(InventoryFolderBase folder) 303 public virtual bool AddFolder(InventoryFolderBase folder)
304 { 304 {
305 //m_log.DebugFormat("[XINVENTORY]: Add folder {0} type {1} in parent {2}", folder.Name, folder.Type, folder.ParentID); 305// m_log.DebugFormat("[XINVENTORY]: Add folder {0} type {1} in parent {2}", folder.Name, folder.Type, folder.ParentID);
306
306 InventoryFolderBase check = GetFolder(folder); 307 InventoryFolderBase check = GetFolder(folder);
307 if (check != null) 308 if (check != null)
308 return false; 309 return false;
@@ -346,7 +347,7 @@ namespace OpenSim.Services.InventoryService
346 347
347 check.Version = (ushort)xFolder.version; 348 check.Version = (ushort)xFolder.version;
348 xFolder = ConvertFromOpenSim(check); 349 xFolder = ConvertFromOpenSim(check);
349 350
350// m_log.DebugFormat( 351// m_log.DebugFormat(
351// "[XINVENTORY]: Storing version only update to system folder {0} {1} {2}", 352// "[XINVENTORY]: Storing version only update to system folder {0} {1} {2}",
352// xFolder.folderName, xFolder.version, xFolder.type); 353// xFolder.folderName, xFolder.version, xFolder.type);
@@ -442,7 +443,6 @@ namespace OpenSim.Services.InventoryService
442 443
443 public virtual bool UpdateItem(InventoryItemBase item) 444 public virtual bool UpdateItem(InventoryItemBase item)
444 { 445 {
445// throw new Exception("urrgh");
446 if (!m_AllowDelete) 446 if (!m_AllowDelete)
447 if (item.AssetType == (sbyte)AssetType.Link || item.AssetType == (sbyte)AssetType.LinkFolder) 447 if (item.AssetType == (sbyte)AssetType.Link || item.AssetType == (sbyte)AssetType.LinkFolder)
448 return false; 448 return false;