diff options
Diffstat (limited to 'OpenSim/Data')
-rw-r--r-- | OpenSim/Data/IGridUserData.cs (renamed from OpenSim/Data/IUserGridData.cs) | 8 | ||||
-rw-r--r-- | OpenSim/Data/MySQL/MySQLGridUserData.cs (renamed from OpenSim/Data/MySQL/MySQLUserGridData.cs) | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Data/IUserGridData.cs b/OpenSim/Data/IGridUserData.cs index 6f7467e..abd2cef 100644 --- a/OpenSim/Data/IUserGridData.cs +++ b/OpenSim/Data/IGridUserData.cs | |||
@@ -33,7 +33,7 @@ using OpenSim.Framework; | |||
33 | namespace OpenSim.Data | 33 | namespace OpenSim.Data |
34 | { | 34 | { |
35 | // This MUST be a ref type! | 35 | // This MUST be a ref type! |
36 | public class UserGridData | 36 | public class GridUserData |
37 | { | 37 | { |
38 | public string UserID; | 38 | public string UserID; |
39 | public Dictionary<string, string> Data; | 39 | public Dictionary<string, string> Data; |
@@ -42,9 +42,9 @@ namespace OpenSim.Data | |||
42 | /// <summary> | 42 | /// <summary> |
43 | /// An interface for connecting to the user grid datastore | 43 | /// An interface for connecting to the user grid datastore |
44 | /// </summary> | 44 | /// </summary> |
45 | public interface IUserGridData | 45 | public interface IGridUserData |
46 | { | 46 | { |
47 | UserGridData GetUserGridData(string userID); | 47 | GridUserData GetGridUserData(string userID); |
48 | bool StoreUserGridData(UserGridData data); | 48 | bool StoreGridUserData(GridUserData data); |
49 | } | 49 | } |
50 | } \ No newline at end of file | 50 | } \ No newline at end of file |
diff --git a/OpenSim/Data/MySQL/MySQLUserGridData.cs b/OpenSim/Data/MySQL/MySQLGridUserData.cs index 7209b18..15834d2 100644 --- a/OpenSim/Data/MySQL/MySQLUserGridData.cs +++ b/OpenSim/Data/MySQL/MySQLGridUserData.cs | |||
@@ -40,15 +40,15 @@ namespace OpenSim.Data.MySQL | |||
40 | /// <summary> | 40 | /// <summary> |
41 | /// A MySQL Interface for user grid data | 41 | /// A MySQL Interface for user grid data |
42 | /// </summary> | 42 | /// </summary> |
43 | public class MySQLUserGridData : MySQLGenericTableHandler<UserGridData>, IUserGridData | 43 | public class MySQLGridUserData : MySQLGenericTableHandler<GridUserData>, IGridUserData |
44 | { | 44 | { |
45 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 45 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
46 | 46 | ||
47 | public MySQLUserGridData(string connectionString, string realm) : base(connectionString, realm, "UserGrid") {} | 47 | public MySQLGridUserData(string connectionString, string realm) : base(connectionString, realm, "UserGrid") {} |
48 | 48 | ||
49 | public UserGridData GetUserGridData(string userID) | 49 | public GridUserData GetGridUserData(string userID) |
50 | { | 50 | { |
51 | UserGridData[] ret = Get("UserID", userID); | 51 | GridUserData[] ret = Get("UserID", userID); |
52 | 52 | ||
53 | if (ret.Length == 0) | 53 | if (ret.Length == 0) |
54 | return null; | 54 | return null; |
@@ -56,7 +56,7 @@ namespace OpenSim.Data.MySQL | |||
56 | return ret[0]; | 56 | return ret[0]; |
57 | } | 57 | } |
58 | 58 | ||
59 | public bool StoreUserGridData(UserGridData data) | 59 | public bool StoreGridUserData(GridUserData data) |
60 | { | 60 | { |
61 | return Store(data); | 61 | return Store(data); |
62 | } | 62 | } |