aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/SQLiteGridData.cs
diff options
context:
space:
mode:
authorKunnis2009-08-16 23:25:12 -0500
committerMelanie2009-08-19 23:46:25 +0100
commitb1853d9f265fb32cf51d65fdcf2d5b4741911f00 (patch)
treec3d814cc0a53ef3a68310e5872eafc3f5acc0280 /OpenSim/Data/SQLite/SQLiteGridData.cs
parent* Switching IAssetData to follow the new naming schema, removing the separate... (diff)
downloadopensim-SC_OLD-b1853d9f265fb32cf51d65fdcf2d5b4741911f00.zip
opensim-SC_OLD-b1853d9f265fb32cf51d65fdcf2d5b4741911f00.tar.gz
opensim-SC_OLD-b1853d9f265fb32cf51d65fdcf2d5b4741911f00.tar.bz2
opensim-SC_OLD-b1853d9f265fb32cf51d65fdcf2d5b4741911f00.tar.xz
Fixing a spot I missed in assets. Switching Grid to the new naming schema with Store/Get
Diffstat (limited to 'OpenSim/Data/SQLite/SQLiteGridData.cs')
-rw-r--r--OpenSim/Data/SQLite/SQLiteGridData.cs10
1 files changed, 2 insertions, 8 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteGridData.cs b/OpenSim/Data/SQLite/SQLiteGridData.cs
index 4107594..18abb88 100644
--- a/OpenSim/Data/SQLite/SQLiteGridData.cs
+++ b/OpenSim/Data/SQLite/SQLiteGridData.cs
@@ -203,7 +203,7 @@ namespace OpenSim.Data.SQLite
203 /// </summary> 203 /// </summary>
204 /// <param name="profile">The profile to add</param> 204 /// <param name="profile">The profile to add</param>
205 /// <returns>A dataresponse enum indicating success</returns> 205 /// <returns>A dataresponse enum indicating success</returns>
206 override public DataResponse AddProfile(RegionProfileData profile) 206 override public DataResponse StoreProfile(RegionProfileData profile)
207 { 207 {
208 if (database.insertRow(profile)) 208 if (database.insertRow(profile))
209 { 209 {
@@ -215,17 +215,11 @@ namespace OpenSim.Data.SQLite
215 } 215 }
216 } 216 }
217 217
218 override public DataResponse UpdateProfile(RegionProfileData profile) 218 /// <summary>
219 {
220 return AddProfile(profile);
221 }
222
223 /// <summary>
224 /// Deletes a sim profile from the database 219 /// Deletes a sim profile from the database
225 /// </summary> 220 /// </summary>
226 /// <param name="uuid">the sim UUID</param> 221 /// <param name="uuid">the sim UUID</param>
227 /// <returns>Successful?</returns> 222 /// <returns>Successful?</returns>
228 //public DataResponse DeleteProfile(RegionProfileData profile)
229 override public DataResponse DeleteProfile(string uuid) 223 override public DataResponse DeleteProfile(string uuid)
230 { 224 {
231 Dictionary<string, string> param = new Dictionary<string, string>(); 225 Dictionary<string, string> param = new Dictionary<string, string>();