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.MSSQL/MSSQLUserData.cs | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'OpenSim/Framework/Data.MSSQL') diff --git a/OpenSim/Framework/Data.MSSQL/MSSQLUserData.cs b/OpenSim/Framework/Data.MSSQL/MSSQLUserData.cs index c235e96..80b65c1 100644 --- a/OpenSim/Framework/Data.MSSQL/MSSQLUserData.cs +++ b/OpenSim/Framework/Data.MSSQL/MSSQLUserData.cs @@ -62,16 +62,6 @@ namespace OpenSim.Framework.Data.MSSQL } /// - /// 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 @@ -188,11 +178,7 @@ namespace OpenSim.Framework.Data.MSSQL 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