diff options
author | Justin Clarke Casey | 2008-04-30 20:04:06 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-04-30 20:04:06 +0000 |
commit | 3508298ddf5df94574c37c04fd59c3df579e42a2 (patch) | |
tree | d349fb812c895be2648aa55beac54bab7117eb24 /OpenSim/Framework/Communications/Cache/CachedUserInfo.cs | |
parent | * Resolve mantis 1068, 1095 (diff) | |
download | opensim-SC_OLD-3508298ddf5df94574c37c04fd59c3df579e42a2.zip opensim-SC_OLD-3508298ddf5df94574c37c04fd59c3df579e42a2.tar.gz opensim-SC_OLD-3508298ddf5df94574c37c04fd59c3df579e42a2.tar.bz2 opensim-SC_OLD-3508298ddf5df94574c37c04fd59c3df579e42a2.tar.xz |
* Refactor: Rename InventoryFolderImpl.HasSubFolder() to GetDescendentFolder()
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/CachedUserInfo.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs index 847909a..7902240 100644 --- a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs +++ b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs | |||
@@ -229,7 +229,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
229 | } | 229 | } |
230 | else | 230 | else |
231 | { | 231 | { |
232 | InventoryFolderImpl folder = RootFolder.HasSubFolder(folderInfo.ParentID); | 232 | InventoryFolderImpl folder = RootFolder.GetDescendentFolder(folderInfo.ParentID); |
233 | lock (folder.SubFolders) | 233 | lock (folder.SubFolders) |
234 | { | 234 | { |
235 | if (folder != null) | 235 | if (folder != null) |
@@ -283,7 +283,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
283 | } | 283 | } |
284 | else | 284 | else |
285 | { | 285 | { |
286 | InventoryFolderImpl folder = RootFolder.HasSubFolder(itemInfo.Folder); | 286 | InventoryFolderImpl folder = RootFolder.GetDescendentFolder(itemInfo.Folder); |
287 | if (folder != null) | 287 | if (folder != null) |
288 | { | 288 | { |
289 | lock (folder.Items) | 289 | lock (folder.Items) |