diff options
author | Teravus Ovares | 2008-01-01 06:12:04 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-01-01 06:12:04 +0000 |
commit | b4c9b6bd19c0725ae5bf60172db75ebc63ba72c6 (patch) | |
tree | d7e9e370371edbcbebb8436791ba8b1cd940ab69 /OpenSim/Framework/Data.MySQL/MySQLUserData.cs | |
parent | Make it possible for new inventory 'libraries' to be added without changing t... (diff) | |
download | opensim-SC_OLD-b4c9b6bd19c0725ae5bf60172db75ebc63ba72c6.zip opensim-SC_OLD-b4c9b6bd19c0725ae5bf60172db75ebc63ba72c6.tar.gz opensim-SC_OLD-b4c9b6bd19c0725ae5bf60172db75ebc63ba72c6.tar.bz2 opensim-SC_OLD-b4c9b6bd19c0725ae5bf60172db75ebc63ba72c6.tar.xz |
* You can add and remove a friend in standalone now within the same simulator. It saves.
* You can add and remove a friend in grid mode now within the same simulator. It doesn't save yet.
* I got rid of Mr. OpenSim as a friend.. he bothers me /:b...
Diffstat (limited to 'OpenSim/Framework/Data.MySQL/MySQLUserData.cs')
-rw-r--r-- | OpenSim/Framework/Data.MySQL/MySQLUserData.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Framework/Data.MySQL/MySQLUserData.cs b/OpenSim/Framework/Data.MySQL/MySQLUserData.cs index 779d050..a5e6da4 100644 --- a/OpenSim/Framework/Data.MySQL/MySQLUserData.cs +++ b/OpenSim/Framework/Data.MySQL/MySQLUserData.cs | |||
@@ -226,6 +226,13 @@ namespace OpenSim.Framework.Data.MySQL | |||
226 | param); | 226 | param); |
227 | updater.ExecuteNonQuery(); | 227 | updater.ExecuteNonQuery(); |
228 | 228 | ||
229 | updater = | ||
230 | database.Query( | ||
231 | "delete from userfriends " + | ||
232 | "where ownerID = ?friendID and friendID = ?ownerID", | ||
233 | param); | ||
234 | updater.ExecuteNonQuery(); | ||
235 | |||
229 | } | 236 | } |
230 | } | 237 | } |
231 | catch (Exception e) | 238 | catch (Exception e) |