diff options
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Data.DB4o/DB4oManager.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Framework/Data.DB4o/DB4oManager.cs b/OpenSim/Framework/Data.DB4o/DB4oManager.cs index 230a707..ef8f7dd 100644 --- a/OpenSim/Framework/Data.DB4o/DB4oManager.cs +++ b/OpenSim/Framework/Data.DB4o/DB4oManager.cs | |||
@@ -123,11 +123,10 @@ namespace OpenSim.Framework.Data.DB4o | |||
123 | IObjectSet result = database.Get(typeof(UserProfileData)); | 123 | IObjectSet result = database.Get(typeof(UserProfileData)); |
124 | foreach (UserProfileData row in result) | 124 | foreach (UserProfileData row in result) |
125 | { | 125 | { |
126 | if (!userProfiles.ContainsKey(row.UUID)) | 126 | if (userProfiles.ContainsKey(row.UUID)) |
127 | { | 127 | userProfiles[row.UUID] = row; |
128 | else | ||
128 | userProfiles.Add(row.UUID, row); | 129 | userProfiles.Add(row.UUID, row); |
129 | } | ||
130 | |||
131 | } | 130 | } |
132 | database.Close(); | 131 | database.Close(); |
133 | } | 132 | } |