From 019d6626068920283b700440e780c86c162ca7c6 Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Sat, 15 Dec 2007 21:58:07 +0000
Subject: Put out a more comprehensible message when user authentication fails
than the current NullReferenceException based one
---
OpenSim/Framework/Data.MySQL/MySQLUserData.cs | 23 ++---------------------
1 file changed, 2 insertions(+), 21 deletions(-)
(limited to 'OpenSim/Framework/Data.MySQL/MySQLUserData.cs')
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
}
#endregion
-
- ///
- /// Searches the database for a specified user profile
- ///
- /// The account name of the user
- /// A user profile
- public UserProfileData GetUserByName(string name)
- {
- return GetUserByName(name.Split(' ')[0], name.Split(' ')[1]);
- }
- ///
- /// Searches the database for a specified user profile by name components
- ///
- /// The first part of the account name
- /// The second part of the account name
- /// A user profile
+ // see IUserData
public UserProfileData GetUserByName(string user, string last)
{
try
@@ -244,11 +229,7 @@ namespace OpenSim.Framework.Data.MySQL
return returnlist;
}
- ///
- /// Searches the database for a specified user profile by UUID
- ///
- /// The account ID
- /// The users profile
+ // see IUserData
public UserProfileData GetUserByUUID(LLUUID uuid)
{
try
--
cgit v1.1