mirror of
https://github.com/opensim/opensim.git
synced 2026-06-12 15:25:36 +08:00
* Applying Ahzz's profile patch. Thanks Ahzz!
* Fixed a few bugs in the patch that are sim crashers. * There's still a bug in mySQL mode/ grid mode where the main userprofile text doesn't save.
This commit is contained in:
@@ -594,7 +594,11 @@ namespace OpenSim.Framework.Data.MySQL
|
||||
/// <param name="user">The profile data to use to update the DB</param>
|
||||
public bool UpdateUserProfile(UserProfileData user)
|
||||
{
|
||||
// TODO: implement
|
||||
database.updateUserRow(user.UUID, user.username, user.surname, user.passwordHash, user.passwordSalt
|
||||
, user.homeRegion, user.homeLocation.X, user.homeLocation.Y, user.homeLocation.Z, user.homeLookAt.X
|
||||
, user.homeLookAt.Y, user.homeLookAt.Z, user.created, user.lastLogin, user.userInventoryURI
|
||||
, user.userAssetURI, user.profileCanDoMask, user.profileWantDoMask, user.profileAboutText
|
||||
, user.profileFirstText, user.profileImage, user.profileFirstImage, user.webLoginKey);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -641,4 +645,4 @@ namespace OpenSim.Framework.Data.MySQL
|
||||
return "0.1";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user