mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Justin, I must have been dyslexic when I wrote UserGridService as the name for it. GridUserService makes more sense; it's the user of the grid, "grid user". I changed it everywhere.
This commit is contained in:
@@ -40,15 +40,15 @@ namespace OpenSim.Data.MySQL
|
||||
/// <summary>
|
||||
/// A MySQL Interface for user grid data
|
||||
/// </summary>
|
||||
public class MySQLUserGridData : MySQLGenericTableHandler<UserGridData>, IUserGridData
|
||||
public class MySQLGridUserData : MySQLGenericTableHandler<GridUserData>, IGridUserData
|
||||
{
|
||||
// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
public MySQLUserGridData(string connectionString, string realm) : base(connectionString, realm, "UserGrid") {}
|
||||
public MySQLGridUserData(string connectionString, string realm) : base(connectionString, realm, "UserGrid") {}
|
||||
|
||||
public UserGridData GetUserGridData(string userID)
|
||||
public GridUserData GetGridUserData(string userID)
|
||||
{
|
||||
UserGridData[] ret = Get("UserID", userID);
|
||||
GridUserData[] ret = Get("UserID", userID);
|
||||
|
||||
if (ret.Length == 0)
|
||||
return null;
|
||||
@@ -56,7 +56,7 @@ namespace OpenSim.Data.MySQL
|
||||
return ret[0];
|
||||
}
|
||||
|
||||
public bool StoreUserGridData(UserGridData data)
|
||||
public bool StoreGridUserData(GridUserData data)
|
||||
{
|
||||
return Store(data);
|
||||
}
|
||||
Reference in New Issue
Block a user