mirror of
https://github.com/opensim/opensim.git
synced 2026-06-08 21:01:01 +08:00
You can now save profiles to a database. (Zomg!)
This commit is contained in:
@@ -75,6 +75,18 @@ namespace OpenGrid.Framework.Data.MySQL
|
||||
return row;
|
||||
}
|
||||
|
||||
public DataResponse AddProfile(SimProfileData profile)
|
||||
{
|
||||
if (database.insertRow(profile))
|
||||
{
|
||||
return DataResponse.RESPONSE_OK;
|
||||
}
|
||||
else
|
||||
{
|
||||
return DataResponse.RESPONSE_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// DEPRECIATED. Attempts to authenticate a region by comparing a shared secret.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user