aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGrid.Framework.Data.DB4o/DB4oGridData.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenGrid.Framework.Data.DB4o/DB4oGridData.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenGrid.Framework.Data.DB4o/DB4oGridData.cs b/OpenGrid.Framework.Data.DB4o/DB4oGridData.cs
index c8152f4..63f976f 100644
--- a/OpenGrid.Framework.Data.DB4o/DB4oGridData.cs
+++ b/OpenGrid.Framework.Data.DB4o/DB4oGridData.cs
@@ -41,7 +41,14 @@ namespace OpenGrid.Framework.Data.DB4o
41 41
42 public DataResponse AddProfile(SimProfileData profile) 42 public DataResponse AddProfile(SimProfileData profile)
43 { 43 {
44 return DataResponse.RESPONSE_OK; 44 if (manager.AddRow(profile))
45 {
46 return DataResponse.RESPONSE_OK;
47 }
48 else
49 {
50 return DataResponse.RESPONSE_ERROR;
51 }
45 } 52 }
46 53
47 public bool AuthenticateSim(LLUUID uuid, ulong handle, string key) { 54 public bool AuthenticateSim(LLUUID uuid, ulong handle, string key) {