aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.SQLite
diff options
context:
space:
mode:
authorJeff Ames2008-03-18 14:51:42 +0000
committerJeff Ames2008-03-18 14:51:42 +0000
commitbf8b5844f24d294c459f54147bd511e7112288bf (patch)
tree1b6a1ba4e9888d43694a8a33c21beb6913ce2d3a /OpenSim/Framework/Data.SQLite
parent* Applied Grumly57 patch for #781; Thanks, Grumly! (diff)
downloadopensim-SC_OLD-bf8b5844f24d294c459f54147bd511e7112288bf.zip
opensim-SC_OLD-bf8b5844f24d294c459f54147bd511e7112288bf.tar.gz
opensim-SC_OLD-bf8b5844f24d294c459f54147bd511e7112288bf.tar.bz2
opensim-SC_OLD-bf8b5844f24d294c459f54147bd511e7112288bf.tar.xz
Formatting cleanup. Minor refactoring.
Diffstat (limited to 'OpenSim/Framework/Data.SQLite')
-rw-r--r--OpenSim/Framework/Data.SQLite/SQLiteGridData.cs7
1 files changed, 2 insertions, 5 deletions
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteGridData.cs b/OpenSim/Framework/Data.SQLite/SQLiteGridData.cs
index 4d42f19..397ef82 100644
--- a/OpenSim/Framework/Data.SQLite/SQLiteGridData.cs
+++ b/OpenSim/Framework/Data.SQLite/SQLiteGridData.cs
@@ -114,13 +114,12 @@ namespace OpenSim.Framework.Data.SQLite
114 /// <summary> 114 /// <summary>
115 /// Returns a sim profile from it's Region name string 115 /// Returns a sim profile from it's Region name string
116 /// </summary> 116 /// </summary>
117 /// <param name="uuid">The region name search query</param> 117 /// <param name="regionName">The region name search query</param>
118 /// <returns>The sim profile</returns> 118 /// <returns>The sim profile</returns>
119 public RegionProfileData GetProfileByString(string regionName) 119 public RegionProfileData GetProfileByString(string regionName)
120 { 120 {
121 if (regionName.Length > 2) 121 if (regionName.Length > 2)
122 { 122 {
123
124 Dictionary<string, string> param = new Dictionary<string, string>(); 123 Dictionary<string, string> param = new Dictionary<string, string>();
125 // Add % because this is a like query. 124 // Add % because this is a like query.
126 param["?regionName"] = regionName + "%"; 125 param["?regionName"] = regionName + "%";
@@ -133,7 +132,6 @@ namespace OpenSim.Framework.Data.SQLite
133 result.Dispose(); 132 result.Dispose();
134 133
135 return row; 134 return row;
136
137 } 135 }
138 else 136 else
139 { 137 {
@@ -142,7 +140,6 @@ namespace OpenSim.Framework.Data.SQLite
142 } 140 }
143 } 141 }
144 142
145
146 /// <summary> 143 /// <summary>
147 /// Returns a sim profile from it's UUID 144 /// Returns a sim profile from it's UUID
148 /// </summary> 145 /// </summary>
@@ -191,7 +188,7 @@ namespace OpenSim.Framework.Data.SQLite
191 } 188 }
192 189
193 /// <summary> 190 /// <summary>
194 /// DEPRECIATED. Attempts to authenticate a region by comparing a shared secret. 191 /// DEPRECATED. Attempts to authenticate a region by comparing a shared secret.
195 /// </summary> 192 /// </summary>
196 /// <param name="uuid">The UUID of the challenger</param> 193 /// <param name="uuid">The UUID of the challenger</param>
197 /// <param name="handle">The attempted regionHandle of the challenger</param> 194 /// <param name="handle">The attempted regionHandle of the challenger</param>