From 042d69edaa9b905ebef70565ca0e1cb8b944685b Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Sat, 5 May 2007 23:57:43 +0000 Subject: Fixed bug with adding sims to DB4o based grid interface --- OpenGrid.Framework.Data.DB4o/DB4oGridData.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 public DataResponse AddProfile(SimProfileData profile) { - return DataResponse.RESPONSE_OK; + if (manager.AddRow(profile)) + { + return DataResponse.RESPONSE_OK; + } + else + { + return DataResponse.RESPONSE_ERROR; + } } public bool AuthenticateSim(LLUUID uuid, ulong handle, string key) { -- cgit v1.1