diff options
Diffstat (limited to 'OpenSim/Data/NHibernate/NHibernateUserData.cs')
-rw-r--r-- | OpenSim/Data/NHibernate/NHibernateUserData.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateUserData.cs b/OpenSim/Data/NHibernate/NHibernateUserData.cs index 7dfdcb5..3f1f260 100644 --- a/OpenSim/Data/NHibernate/NHibernateUserData.cs +++ b/OpenSim/Data/NHibernate/NHibernateUserData.cs | |||
@@ -102,7 +102,7 @@ namespace OpenSim.Data.NHibernate | |||
102 | if (!ExistsUser(profile.ID)) | 102 | if (!ExistsUser(profile.ID)) |
103 | { | 103 | { |
104 | m_log.InfoFormat("[NHIBERNATE] AddNewUserProfile {0}", profile.ID); | 104 | m_log.InfoFormat("[NHIBERNATE] AddNewUserProfile {0}", profile.ID); |
105 | manager.Save(profile); | 105 | manager.Insert(profile); |
106 | // Agent should not be saved according to BasicUserTest.T015_UserPersistency() | 106 | // Agent should not be saved according to BasicUserTest.T015_UserPersistency() |
107 | // SetAgentData(profile.ID, profile.CurrentAgent); | 107 | // SetAgentData(profile.ID, profile.CurrentAgent); |
108 | 108 | ||
@@ -169,7 +169,7 @@ namespace OpenSim.Data.NHibernate | |||
169 | manager.Delete(old); | 169 | manager.Delete(old); |
170 | } | 170 | } |
171 | 171 | ||
172 | manager.Save(agent); | 172 | manager.Insert(agent); |
173 | 173 | ||
174 | } | 174 | } |
175 | 175 | ||
@@ -245,11 +245,11 @@ namespace OpenSim.Data.NHibernate | |||
245 | { | 245 | { |
246 | if (!FriendRelationExists(ownerId,friendId)) | 246 | if (!FriendRelationExists(ownerId,friendId)) |
247 | { | 247 | { |
248 | manager.Save(new UserFriend(UUID.Random(), ownerId, friendId, perms)); | 248 | manager.Insert(new UserFriend(UUID.Random(), ownerId, friendId, perms)); |
249 | } | 249 | } |
250 | if (!FriendRelationExists(friendId, ownerId)) | 250 | if (!FriendRelationExists(friendId, ownerId)) |
251 | { | 251 | { |
252 | manager.Save(new UserFriend(UUID.Random(), friendId, ownerId, perms)); | 252 | manager.Insert(new UserFriend(UUID.Random(), friendId, ownerId, perms)); |
253 | } | 253 | } |
254 | return; | 254 | return; |
255 | } | 255 | } |
@@ -426,7 +426,7 @@ namespace OpenSim.Data.NHibernate | |||
426 | } | 426 | } |
427 | else | 427 | else |
428 | { | 428 | { |
429 | manager.Save(appearance); | 429 | manager.Insert(appearance); |
430 | } | 430 | } |
431 | } | 431 | } |
432 | 432 | ||