aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/InventoryServiceBase.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-04-10 15:28:52 +0000
committerJustin Clarke Casey2008-04-10 15:28:52 +0000
commitba132f3a0bbbc2f749bec9c563e169d22c76f74b (patch)
tree10f2f5622e09c41a7096e85addedf36251fc52a7 /OpenSim/Framework/Communications/InventoryServiceBase.cs
parent* Slightly smoother transition between land, shallow water and deep water in ... (diff)
downloadopensim-SC-ba132f3a0bbbc2f749bec9c563e169d22c76f74b.zip
opensim-SC-ba132f3a0bbbc2f749bec9c563e169d22c76f74b.tar.gz
opensim-SC-ba132f3a0bbbc2f749bec9c563e169d22c76f74b.tar.bz2
opensim-SC-ba132f3a0bbbc2f749bec9c563e169d22c76f74b.tar.xz
* Minor: get CreateNewUserInventory() to return true on success
Diffstat (limited to 'OpenSim/Framework/Communications/InventoryServiceBase.cs')
-rw-r--r--OpenSim/Framework/Communications/InventoryServiceBase.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/InventoryServiceBase.cs b/OpenSim/Framework/Communications/InventoryServiceBase.cs
index 0d19932..f9a47b1 100644
--- a/OpenSim/Framework/Communications/InventoryServiceBase.cs
+++ b/OpenSim/Framework/Communications/InventoryServiceBase.cs
@@ -135,7 +135,7 @@ namespace OpenSim.Framework.Communications
135 } 135 }
136 136
137 // See IInventoryServices 137 // See IInventoryServices
138 public void CreateNewUserInventory(LLUUID user) 138 public bool CreateNewUserInventory(LLUUID user)
139 { 139 {
140 InventoryFolderBase existingRootFolder = RequestRootFolder(user); 140 InventoryFolderBase existingRootFolder = RequestRootFolder(user);
141 141
@@ -151,7 +151,11 @@ namespace OpenSim.Framework.Communications
151 UsersInventory inven = new UsersInventory(); 151 UsersInventory inven = new UsersInventory();
152 inven.CreateNewInventorySet(user); 152 inven.CreateNewInventorySet(user);
153 AddNewInventorySet(inven); 153 AddNewInventorySet(inven);
154
155 return true;
154 } 156 }
157
158 return false;
155 } 159 }
156 160
157 public abstract void RequestInventoryForUser(LLUUID userID, InventoryFolderInfo folderCallBack, 161 public abstract void RequestInventoryForUser(LLUUID userID, InventoryFolderInfo folderCallBack,