aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/InventoryService
diff options
context:
space:
mode:
authorDiva Canto2009-08-19 16:15:04 -0700
committerDiva Canto2009-08-19 17:35:42 -0700
commit6e35ddb0e9642e6719d5043da99d45f8885d13f0 (patch)
tree37617567f2e5f3f5bc6b6c5516c5edf01f842963 /OpenSim/Services/InventoryService
parentMakes the inventory connectors fully compatible with the old Grid.InventorySe... (diff)
downloadopensim-SC-6e35ddb0e9642e6719d5043da99d45f8885d13f0.zip
opensim-SC-6e35ddb0e9642e6719d5043da99d45f8885d13f0.tar.gz
opensim-SC-6e35ddb0e9642e6719d5043da99d45f8885d13f0.tar.bz2
opensim-SC-6e35ddb0e9642e6719d5043da99d45f8885d13f0.tar.xz
Fixes GetItem and GetFolder for SQLite. Turns out some methods were no-op in SQlite. Fixes most grief in
http://opensimulator.org/mantis/view.php?id=4035 http://opensimulator.org/mantis/view.php?id=4027
Diffstat (limited to 'OpenSim/Services/InventoryService')
-rw-r--r--OpenSim/Services/InventoryService/InventoryService.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Services/InventoryService/InventoryService.cs b/OpenSim/Services/InventoryService/InventoryService.cs
index e0217f6..6310254 100644
--- a/OpenSim/Services/InventoryService/InventoryService.cs
+++ b/OpenSim/Services/InventoryService/InventoryService.cs
@@ -420,16 +420,16 @@ namespace OpenSim.Services.InventoryService
420 420
421 public virtual InventoryItemBase GetItem(InventoryItemBase item) 421 public virtual InventoryItemBase GetItem(InventoryItemBase item)
422 { 422 {
423 InventoryItemBase result = m_Database.queryInventoryItem(item.ID); 423 InventoryItemBase result = m_Database.getInventoryItem(item.ID);
424 if (result != null) 424 if (result != null)
425 return result; 425 return result;
426 426 m_log.DebugFormat("[INVENTORY SERVICE]: GetItem failed to find item {0}", item.ID);
427 return null; 427 return null;
428 } 428 }
429 429
430 public virtual InventoryFolderBase GetFolder(InventoryFolderBase item) 430 public virtual InventoryFolderBase GetFolder(InventoryFolderBase item)
431 { 431 {
432 InventoryFolderBase result = m_Database.queryInventoryFolder(item.ID); 432 InventoryFolderBase result = m_Database.getInventoryFolder(item.ID);
433 if (result != null) 433 if (result != null)
434 return result; 434 return result;
435 435