diff options
author | Melanie | 2010-01-04 21:41:33 +0000 |
---|---|---|
committer | Melanie | 2010-01-04 21:41:33 +0000 |
commit | 7f960cd5950129c8ae9ae8d0aa92efbf9ce3c0cc (patch) | |
tree | badbb6fd767ff6127c28d339677febd9356d80b0 /OpenSim/Services/InventoryService/InventoryService.cs | |
parent | Forgot to add these to the grid configs, so that logins work. (diff) | |
parent | Finish conversion if XInventoryService (diff) | |
download | opensim-SC-7f960cd5950129c8ae9ae8d0aa92efbf9ce3c0cc.zip opensim-SC-7f960cd5950129c8ae9ae8d0aa92efbf9ce3c0cc.tar.gz opensim-SC-7f960cd5950129c8ae9ae8d0aa92efbf9ce3c0cc.tar.bz2 opensim-SC-7f960cd5950129c8ae9ae8d0aa92efbf9ce3c0cc.tar.xz |
Merge branch 'master' into presence-refactor
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/InventoryService/InventoryService.cs | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/OpenSim/Services/InventoryService/InventoryService.cs b/OpenSim/Services/InventoryService/InventoryService.cs index d4da4d3..95007f1 100644 --- a/OpenSim/Services/InventoryService/InventoryService.cs +++ b/OpenSim/Services/InventoryService/InventoryService.cs | |||
@@ -25,6 +25,7 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
28 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
29 | using System.Reflection; | 30 | using System.Reflection; |
30 | using log4net; | 31 | using log4net; |
@@ -102,7 +103,17 @@ namespace OpenSim.Services.InventoryService | |||
102 | // See IInventoryServices | 103 | // See IInventoryServices |
103 | public bool CreateUserInventory(UUID user) | 104 | public bool CreateUserInventory(UUID user) |
104 | { | 105 | { |
105 | InventoryFolderBase existingRootFolder = GetRootFolder(user); | 106 | InventoryFolderBase existingRootFolder; |
107 | try | ||
108 | { | ||
109 | existingRootFolder = GetRootFolder(user); | ||
110 | } | ||
111 | catch (Exception e) | ||
112 | { | ||
113 | // Munch the exception, it has already been reported | ||
114 | // | ||
115 | return false; | ||
116 | } | ||
106 | 117 | ||
107 | if (null != existingRootFolder) | 118 | if (null != existingRootFolder) |
108 | { | 119 | { |