diff options
Diffstat (limited to 'OpenSim/Framework/Data.MySQL')
-rw-r--r-- | OpenSim/Framework/Data.MySQL/MySQLUserData.cs | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/OpenSim/Framework/Data.MySQL/MySQLUserData.cs b/OpenSim/Framework/Data.MySQL/MySQLUserData.cs index e5cbe45..6a7cf49 100644 --- a/OpenSim/Framework/Data.MySQL/MySQLUserData.cs +++ b/OpenSim/Framework/Data.MySQL/MySQLUserData.cs | |||
@@ -113,23 +113,8 @@ namespace OpenSim.Framework.Data.MySQL | |||
113 | } | 113 | } |
114 | 114 | ||
115 | #endregion | 115 | #endregion |
116 | |||
117 | /// <summary> | ||
118 | /// Searches the database for a specified user profile | ||
119 | /// </summary> | ||
120 | /// <param name="name">The account name of the user</param> | ||
121 | /// <returns>A user profile</returns> | ||
122 | public UserProfileData GetUserByName(string name) | ||
123 | { | ||
124 | return GetUserByName(name.Split(' ')[0], name.Split(' ')[1]); | ||
125 | } | ||
126 | 116 | ||
127 | /// <summary> | 117 | // see IUserData |
128 | /// Searches the database for a specified user profile by name components | ||
129 | /// </summary> | ||
130 | /// <param name="user">The first part of the account name</param> | ||
131 | /// <param name="last">The second part of the account name</param> | ||
132 | /// <returns>A user profile</returns> | ||
133 | public UserProfileData GetUserByName(string user, string last) | 118 | public UserProfileData GetUserByName(string user, string last) |
134 | { | 119 | { |
135 | try | 120 | try |
@@ -244,11 +229,7 @@ namespace OpenSim.Framework.Data.MySQL | |||
244 | return returnlist; | 229 | return returnlist; |
245 | } | 230 | } |
246 | 231 | ||
247 | /// <summary> | 232 | // see IUserData |
248 | /// Searches the database for a specified user profile by UUID | ||
249 | /// </summary> | ||
250 | /// <param name="uuid">The account ID</param> | ||
251 | /// <returns>The users profile</returns> | ||
252 | public UserProfileData GetUserByUUID(LLUUID uuid) | 233 | public UserProfileData GetUserByUUID(LLUUID uuid) |
253 | { | 234 | { |
254 | try | 235 | try |