aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Communications/Cache/CachedUserInfo.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
index ca9669a..86c24bc 100644
--- a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
+++ b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
@@ -316,9 +316,9 @@ namespace OpenSim.Framework.Communications.Cache
316 /// </summary> 316 /// </summary>
317 /// <param name="userID"></param> 317 /// <param name="userID"></param>
318 /// <param name="itemInfo"></param> 318 /// <param name="itemInfo"></param>
319 public void UpdateItem(LLUUID userID, InventoryItemBase itemInfo) 319 public void UpdateItem(InventoryItemBase itemInfo)
320 { 320 {
321 if ((userID == UserProfile.ID) && HasInventory) 321 if (HasInventory)
322 { 322 {
323 m_commsManager.InventoryService.UpdateItem(itemInfo); 323 m_commsManager.InventoryService.UpdateItem(itemInfo);
324 } 324 }
@@ -330,10 +330,10 @@ namespace OpenSim.Framework.Communications.Cache
330 /// <param name="userID"></param> 330 /// <param name="userID"></param>
331 /// <param name="item"></param> 331 /// <param name="item"></param>
332 /// <returns></returns> 332 /// <returns></returns>
333 public bool DeleteItem(LLUUID userID, InventoryItemBase item) 333 public bool DeleteItem(InventoryItemBase item)
334 { 334 {
335 bool result = false; 335 bool result = false;
336 if ((userID == UserProfile.ID) && HasInventory) 336 if (HasInventory)
337 { 337 {
338 result = RootFolder.DeleteItem(item.ID); 338 result = RootFolder.DeleteItem(item.ID);
339 if (result) 339 if (result)