mirror of
https://github.com/opensim/opensim.git
synced 2026-06-12 07:15:34 +08:00
This should have a strong effect on the Unknown User issue mantis #6625
This commit is contained in:
@@ -46,7 +46,7 @@ namespace OpenSim.Data.MySQL
|
||||
|
||||
public MySQLGridUserData(string connectionString, string realm) : base(connectionString, realm, "GridUserStore") {}
|
||||
|
||||
public GridUserData Get(string userID)
|
||||
public new GridUserData Get(string userID)
|
||||
{
|
||||
GridUserData[] ret = Get("UserID", userID);
|
||||
|
||||
@@ -56,6 +56,9 @@ namespace OpenSim.Data.MySQL
|
||||
return ret[0];
|
||||
}
|
||||
|
||||
|
||||
public GridUserData[] GetAll(string userID)
|
||||
{
|
||||
return base.Get("UserID LIKE {0}%", userID);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user