mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 12:25:42 +08:00
Fixing a spot I missed in assets. Switching Grid to the new naming schema with Store/Get
This commit is contained in:
@@ -117,7 +117,7 @@ namespace OpenSim.Data.NHibernate
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override DataResponse AddProfile(RegionProfileData profile)
|
||||
public override DataResponse StoreProfile(RegionProfileData profile)
|
||||
{
|
||||
if (manager.Get(typeof(RegionProfileData), profile.Uuid) == null)
|
||||
{
|
||||
@@ -125,22 +125,10 @@ namespace OpenSim.Data.NHibernate
|
||||
return DataResponse.RESPONSE_OK;
|
||||
}
|
||||
else
|
||||
{
|
||||
return DataResponse.RESPONSE_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
public override DataResponse UpdateProfile(RegionProfileData profile)
|
||||
{
|
||||
if (manager.Get(typeof(RegionProfileData), profile.Uuid) != null)
|
||||
{
|
||||
manager.Update(profile);
|
||||
return DataResponse.RESPONSE_OK;
|
||||
}
|
||||
else
|
||||
{
|
||||
return DataResponse.RESPONSE_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
public override DataResponse DeleteProfile(string uuid)
|
||||
|
||||
Reference in New Issue
Block a user