diff options
author | Diva Canto | 2009-12-28 20:37:21 -0800 |
---|---|---|
committer | Diva Canto | 2009-12-28 20:37:21 -0800 |
commit | 3cb68d1c8b4d7f5960b50db0040fe4e5f4ea6f77 (patch) | |
tree | 43273432164824ac508b90245a2da7f16f6861d5 /OpenSim/Services/Interfaces | |
parent | * Added Created field to UserAccountData (diff) | |
download | opensim-SC-3cb68d1c8b4d7f5960b50db0040fe4e5f4ea6f77.zip opensim-SC-3cb68d1c8b4d7f5960b50db0040fe4e5f4ea6f77.tar.gz opensim-SC-3cb68d1c8b4d7f5960b50db0040fe4e5f4ea6f77.tar.bz2 opensim-SC-3cb68d1c8b4d7f5960b50db0040fe4e5f4ea6f77.tar.xz |
Removed AccountType, GodLevel and UserFlags from UserAccountData. Doesn't belong there.
Diffstat (limited to 'OpenSim/Services/Interfaces')
-rw-r--r-- | OpenSim/Services/Interfaces/IUserService.cs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/OpenSim/Services/Interfaces/IUserService.cs b/OpenSim/Services/Interfaces/IUserService.cs index 6742758..e458178 100644 --- a/OpenSim/Services/Interfaces/IUserService.cs +++ b/OpenSim/Services/Interfaces/IUserService.cs | |||
@@ -48,15 +48,6 @@ namespace OpenSim.Services.Interfaces | |||
48 | public UUID UserID; | 48 | public UUID UserID; |
49 | public UUID ScopeID; | 49 | public UUID ScopeID; |
50 | 50 | ||
51 | // These are here because they | ||
52 | // concern the account rather than | ||
53 | // the profile. They just happen to | ||
54 | // be used in the Linden profile as well | ||
55 | // | ||
56 | public int GodLevel; | ||
57 | public int UserFlags; | ||
58 | public string AccountType; | ||
59 | |||
60 | public DateTime Created; | 51 | public DateTime Created; |
61 | 52 | ||
62 | public UserAccount(Dictionary<string, object> kvp) | 53 | public UserAccount(Dictionary<string, object> kvp) |
@@ -71,12 +62,6 @@ namespace OpenSim.Services.Interfaces | |||
71 | UUID.TryParse(kvp["UserID"].ToString(), out UserID); | 62 | UUID.TryParse(kvp["UserID"].ToString(), out UserID); |
72 | if (kvp.ContainsKey("ScopeID")) | 63 | if (kvp.ContainsKey("ScopeID")) |
73 | UUID.TryParse(kvp["ScopeID"].ToString(), out ScopeID); | 64 | UUID.TryParse(kvp["ScopeID"].ToString(), out ScopeID); |
74 | if (kvp.ContainsKey("GodLevel")) | ||
75 | Int32.TryParse(kvp["GodLevel"].ToString(), out GodLevel); | ||
76 | if (kvp.ContainsKey("UserFlags")) | ||
77 | Int32.TryParse(kvp["UserFlags"].ToString(), out UserFlags); | ||
78 | if (kvp.ContainsKey("AccountType")) | ||
79 | AccountType = kvp["AccountType"].ToString(); | ||
80 | if (kvp.ContainsKey("Created")) | 65 | if (kvp.ContainsKey("Created")) |
81 | DateTime.TryParse(kvp["Created"].ToString(), out Created); | 66 | DateTime.TryParse(kvp["Created"].ToString(), out Created); |
82 | 67 | ||
@@ -90,9 +75,6 @@ namespace OpenSim.Services.Interfaces | |||
90 | result["Email"] = Email; | 75 | result["Email"] = Email; |
91 | result["UserID"] = UserID.ToString(); | 76 | result["UserID"] = UserID.ToString(); |
92 | result["ScopeID"] = ScopeID.ToString(); | 77 | result["ScopeID"] = ScopeID.ToString(); |
93 | result["GodLevel"] = GodLevel.ToString(); | ||
94 | result["UserFlags"] = UserFlags.ToString(); | ||
95 | result["AccountType"] = AccountType.ToString(); | ||
96 | result["Created"] = Created.ToString(); | 78 | result["Created"] = Created.ToString(); |
97 | 79 | ||
98 | return result; | 80 | return result; |