diff options
author | Diva Canto | 2010-03-05 21:36:45 -0800 |
---|---|---|
committer | Diva Canto | 2010-03-05 21:36:45 -0800 |
commit | 5171464ac199f958a9a8a11664958260a88e863d (patch) | |
tree | 97f70afe241e8761d496d5f54acb5e5eae8d7495 /OpenSim/Data/MySQL/MySQLGridUserData.cs | |
parent | refactor: Move DetachSingleAttachmentToInv to region module (diff) | |
download | opensim-SC-5171464ac199f958a9a8a11664958260a88e863d.zip opensim-SC-5171464ac199f958a9a8a11664958260a88e863d.tar.gz opensim-SC-5171464ac199f958a9a8a11664958260a88e863d.tar.bz2 opensim-SC-5171464ac199f958a9a8a11664958260a88e863d.tar.xz |
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.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLGridUserData.cs (renamed from OpenSim/Data/MySQL/MySQLUserGridData.cs) | 10 |
1 files changed, 5 insertions, 5 deletions
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 | } |