diff options
author | Sean Dague | 2008-11-04 14:54:42 +0000 |
---|---|---|
committer | Sean Dague | 2008-11-04 14:54:42 +0000 |
commit | 702249358badda5413e67ee0267063c2e2a61498 (patch) | |
tree | 42775e792f77d391e5ad730b2bb15f65da3e96d1 /OpenSim/Data/MySQL/MySQLUserData.cs | |
parent | Prefix LSL variables which are C# keywords with @ instead of _ when translati... (diff) | |
download | opensim-SC-702249358badda5413e67ee0267063c2e2a61498.zip opensim-SC-702249358badda5413e67ee0267063c2e2a61498.tar.gz opensim-SC-702249358badda5413e67ee0267063c2e2a61498.tar.bz2 opensim-SC-702249358badda5413e67ee0267063c2e2a61498.tar.xz |
implement email field for MySQL and SQLite
From: Sean Dague <sdague@gmail.com>
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLUserData.cs')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLUserData.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLUserData.cs b/OpenSim/Data/MySQL/MySQLUserData.cs index 6baf4b6..47670d2 100644 --- a/OpenSim/Data/MySQL/MySQLUserData.cs +++ b/OpenSim/Data/MySQL/MySQLUserData.cs | |||
@@ -642,7 +642,7 @@ namespace OpenSim.Data.MySQL | |||
642 | 642 | ||
643 | try | 643 | try |
644 | { | 644 | { |
645 | dbm.Manager.insertUserRow(user.ID, user.FirstName, user.SurName, user.PasswordHash, user.PasswordSalt, | 645 | dbm.Manager.insertUserRow(user.ID, user.FirstName, user.SurName, user.Email, user.PasswordHash, user.PasswordSalt, |
646 | user.HomeRegion, user.HomeLocation.X, user.HomeLocation.Y, | 646 | user.HomeRegion, user.HomeLocation.X, user.HomeLocation.Y, |
647 | user.HomeLocation.Z, | 647 | user.HomeLocation.Z, |
648 | user.HomeLookAt.X, user.HomeLookAt.Y, user.HomeLookAt.Z, user.Created, | 648 | user.HomeLookAt.X, user.HomeLookAt.Y, user.HomeLookAt.Z, user.Created, |
@@ -697,7 +697,7 @@ namespace OpenSim.Data.MySQL | |||
697 | MySQLSuperManager dbm = GetLockedConnection("UpdateUserProfile"); | 697 | MySQLSuperManager dbm = GetLockedConnection("UpdateUserProfile"); |
698 | try | 698 | try |
699 | { | 699 | { |
700 | dbm.Manager.updateUserRow(user.ID, user.FirstName, user.SurName, user.PasswordHash, user.PasswordSalt, | 700 | dbm.Manager.updateUserRow(user.ID, user.FirstName, user.SurName, user.Email, user.PasswordHash, user.PasswordSalt, |
701 | user.HomeRegion, user.HomeRegionID, user.HomeLocation.X, user.HomeLocation.Y, | 701 | user.HomeRegion, user.HomeRegionID, user.HomeLocation.X, user.HomeLocation.Y, |
702 | user.HomeLocation.Z, user.HomeLookAt.X, | 702 | user.HomeLocation.Z, user.HomeLookAt.X, |
703 | user.HomeLookAt.Y, user.HomeLookAt.Z, user.Created, user.LastLogin, | 703 | user.HomeLookAt.Y, user.HomeLookAt.Z, user.Created, user.LastLogin, |