diff options
author | Diva Canto | 2009-12-29 13:27:21 -0800 |
---|---|---|
committer | Diva Canto | 2009-12-29 13:27:21 -0800 |
commit | 6eb5754f5a4b9707f43572ce1e5743054d784818 (patch) | |
tree | 4112cfaa1bd0673752b1c304043e988a3ab3d7c6 /OpenSim/Data | |
parent | Change the interface a bit before someone depends on it's current form (diff) | |
download | opensim-SC-6eb5754f5a4b9707f43572ce1e5743054d784818.zip opensim-SC-6eb5754f5a4b9707f43572ce1e5743054d784818.tar.gz opensim-SC-6eb5754f5a4b9707f43572ce1e5743054d784818.tar.bz2 opensim-SC-6eb5754f5a4b9707f43572ce1e5743054d784818.tar.xz |
Polished the IUserService interface.
Diffstat (limited to 'OpenSim/Data')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLUserAccountData.cs | 5 | ||||
-rw-r--r-- | OpenSim/Data/MySQL/MySQLUserAccountData.cs | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLUserAccountData.cs b/OpenSim/Data/MSSQL/MSSQLUserAccountData.cs index 2d92cb1..4db2777 100644 --- a/OpenSim/Data/MSSQL/MSSQLUserAccountData.cs +++ b/OpenSim/Data/MSSQL/MSSQLUserAccountData.cs | |||
@@ -168,6 +168,11 @@ namespace OpenSim.Data.MSSQL | |||
168 | return true; | 168 | return true; |
169 | } | 169 | } |
170 | 170 | ||
171 | public bool Store(UserAccountData data, UUID principalID, string token) | ||
172 | { | ||
173 | return false; | ||
174 | } | ||
175 | |||
171 | public bool SetDataItem(UUID principalID, string item, string value) | 176 | public bool SetDataItem(UUID principalID, string item, string value) |
172 | { | 177 | { |
173 | string sql = string.Format("update {0} set {1} = @{1} where UUID = @UUID", m_Realm, item); | 178 | string sql = string.Format("update {0} set {1} = @{1} where UUID = @UUID", m_Realm, item); |
diff --git a/OpenSim/Data/MySQL/MySQLUserAccountData.cs b/OpenSim/Data/MySQL/MySQLUserAccountData.cs index e3b5f1d..c6eb44d 100644 --- a/OpenSim/Data/MySQL/MySQLUserAccountData.cs +++ b/OpenSim/Data/MySQL/MySQLUserAccountData.cs | |||
@@ -40,10 +40,10 @@ namespace OpenSim.Data.MySQL | |||
40 | public MySqlUserAccountData(string connectionString, string realm) | 40 | public MySqlUserAccountData(string connectionString, string realm) |
41 | : base(connectionString, realm, "UserAccount") | 41 | : base(connectionString, realm, "UserAccount") |
42 | { | 42 | { |
43 | public bool Store(UserAccountData data, UUID principalID, string token) | 43 | } |
44 | { | 44 | public bool Store(UserAccountData data, UUID principalID, string token) |
45 | Store(data); | 45 | { |
46 | } | 46 | return Store(data); |
47 | } | 47 | } |
48 | } | 48 | } |
49 | } | 49 | } |