diff options
Diffstat (limited to '')
-rw-r--r-- | OpenGrid.Framework.Data.MySQL/MySQLGridData.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs b/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs index 0a84cdb..4404a16 100644 --- a/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs +++ b/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs | |||
@@ -75,6 +75,18 @@ namespace OpenGrid.Framework.Data.MySQL | |||
75 | return row; | 75 | return row; |
76 | } | 76 | } |
77 | 77 | ||
78 | public DataResponse AddProfile(SimProfileData profile) | ||
79 | { | ||
80 | if (database.insertRow(profile)) | ||
81 | { | ||
82 | return DataResponse.RESPONSE_OK; | ||
83 | } | ||
84 | else | ||
85 | { | ||
86 | return DataResponse.RESPONSE_ERROR; | ||
87 | } | ||
88 | } | ||
89 | |||
78 | /// <summary> | 90 | /// <summary> |
79 | /// DEPRECIATED. Attempts to authenticate a region by comparing a shared secret. | 91 | /// DEPRECIATED. Attempts to authenticate a region by comparing a shared secret. |
80 | /// </summary> | 92 | /// </summary> |