diff --git a/OpenSim/Framework/Communications/InventoryServiceBase.cs b/OpenSim/Framework/Communications/InventoryServiceBase.cs index 97d963dddf..0d1993261d 100644 --- a/OpenSim/Framework/Communications/InventoryServiceBase.cs +++ b/OpenSim/Framework/Communications/InventoryServiceBase.cs @@ -141,9 +141,10 @@ namespace OpenSim.Framework.Communications if (null != existingRootFolder) { - m_log.ErrorFormat("[AGENT INVENTORY]: " + - "Did not create a new inventory for user {0} since they already have " - + "a root inventory folder with id {1}", user, existingRootFolder); + m_log.ErrorFormat( + "[AGENT INVENTORY]: Did not create a new inventory for user {0} since they already have " + + "a root inventory folder with id {1}", + user, existingRootFolder.ID); } else { diff --git a/OpenSim/Grid/InventoryServer/GridInventoryService.cs b/OpenSim/Grid/InventoryServer/GridInventoryService.cs index f08c1e5837..ffff89fe5f 100644 --- a/OpenSim/Grid/InventoryServer/GridInventoryService.cs +++ b/OpenSim/Grid/InventoryServer/GridInventoryService.cs @@ -89,7 +89,11 @@ namespace OpenSim.Grid.InventoryServer return allFolders; } - + /// + /// Return a user's entire inventory + /// + /// + /// public InventoryCollection GetUserInventory(Guid rawUserID) { LLUUID userID = new LLUUID(rawUserID); @@ -134,6 +138,11 @@ namespace OpenSim.Grid.InventoryServer return GetInventorySkeleton(userID); } + /// + /// Create an inventory for the given user. + /// + /// + /// public bool CreateUsersInventory(Guid rawUserID) { LLUUID userID = new LLUUID(rawUserID);