Pull out distinct cache system folders and drop cache methods in InventoryCache

This commit is contained in:
Justin Clark-Casey (justincc)
2009-08-28 17:07:17 +01:00
parent 7f8df4242b
commit 7ff4c2e50b
8 changed files with 60 additions and 149 deletions

View File

@@ -88,6 +88,8 @@ namespace OpenSim.Services.InventoryService
// See IInventoryServices
public virtual InventoryFolderBase GetRootFolder(UUID userID)
{
//m_log.DebugFormat("[INVENTORY SERVICE]: Getting root folder for {0}", userID);
// Retrieve the first root folder we get from the DB.
InventoryFolderBase rootFolder = m_Database.getUserRootFolder(userID);
if (rootFolder != null)