aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services
diff options
context:
space:
mode:
authorTom2010-08-06 08:09:10 -0700
committerTom2010-08-06 08:09:10 -0700
commit0d4086e6025d2d6ccbf1339a22a443eb746e834f (patch)
tree5a9c8a75ec34ccdea292cbc947655d36cd4eb09e /OpenSim/Services
parentSince i've narrowed the fault down to one function, add some spammy debug to ... (diff)
parentChange XEngine to use the new constant (diff)
downloadopensim-SC-0d4086e6025d2d6ccbf1339a22a443eb746e834f.zip
opensim-SC-0d4086e6025d2d6ccbf1339a22a443eb746e834f.tar.gz
opensim-SC-0d4086e6025d2d6ccbf1339a22a443eb746e834f.tar.bz2
opensim-SC-0d4086e6025d2d6ccbf1339a22a443eb746e834f.tar.xz
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Services')
-rw-r--r--OpenSim/Services/InventoryService/XInventoryService.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Services/InventoryService/XInventoryService.cs b/OpenSim/Services/InventoryService/XInventoryService.cs
index f581f76..26c5b33 100644
--- a/OpenSim/Services/InventoryService/XInventoryService.cs
+++ b/OpenSim/Services/InventoryService/XInventoryService.cs
@@ -342,7 +342,6 @@ namespace OpenSim.Services.InventoryService
342 m_Database.DeleteFolders("folderID", x.folderID.ToString()); 342 m_Database.DeleteFolders("folderID", x.folderID.ToString());
343 } 343 }
344 344
345 m_Database.DeleteItems("parentFolderID", folder.ID.ToString());
346 345
347 return true; 346 return true;
348 } 347 }
@@ -542,6 +541,9 @@ namespace OpenSim.Services.InventoryService
542 if (folder.Length < 1) 541 if (folder.Length < 1)
543 return false; 542 return false;
544 543
544 if (folder[0].type == (int)AssetType.TrashFolder)
545 return true;
546
545 UUID parentFolder = folder[0].parentFolderID; 547 UUID parentFolder = folder[0].parentFolderID;
546 548
547 while (parentFolder != UUID.Zero) 549 while (parentFolder != UUID.Zero)