diff options
Diffstat (limited to 'OpenSim/Framework/Data.SQLite/SQLiteUserData.cs')
-rw-r--r-- | OpenSim/Framework/Data.SQLite/SQLiteUserData.cs | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs b/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs index d65e8d5..0b2df9d 100644 --- a/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs +++ b/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs | |||
@@ -624,19 +624,20 @@ namespace OpenSim.Framework.Data.SQLite | |||
624 | return user; | 624 | return user; |
625 | } | 625 | } |
626 | 626 | ||
627 | private void fillFriendRow(DataRow row, LLUUID ownerID, LLUUID friendID, uint perms) | 627 | // TODO: unused |
628 | { | 628 | // private void fillFriendRow(DataRow row, LLUUID ownerID, LLUUID friendID, uint perms) |
629 | row["ownerID"] = ownerID.UUID.ToString(); | 629 | // { |
630 | row["friendID"] = friendID.UUID.ToString(); | 630 | // row["ownerID"] = ownerID.UUID.ToString(); |
631 | row["friendPerms"] = perms; | 631 | // row["friendID"] = friendID.UUID.ToString(); |
632 | foreach (DataColumn col in ds.Tables["userfriends"].Columns) | 632 | // row["friendPerms"] = perms; |
633 | { | 633 | // foreach (DataColumn col in ds.Tables["userfriends"].Columns) |
634 | if (row[col] == null) | 634 | // { |
635 | { | 635 | // if (row[col] == null) |
636 | row[col] = String.Empty; | 636 | // { |
637 | } | 637 | // row[col] = String.Empty; |
638 | } | 638 | // } |
639 | } | 639 | // } |
640 | // } | ||
640 | 641 | ||
641 | private void fillUserRow(DataRow row, UserProfileData user) | 642 | private void fillUserRow(DataRow row, UserProfileData user) |
642 | { | 643 | { |