aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/PGSQL
diff options
context:
space:
mode:
authorBlueWall2014-11-25 19:27:15 -0500
committerBlueWall2014-11-25 19:27:15 -0500
commita76aec8467439a4c4c2249656fe84a9ee5b9426c (patch)
tree108f6909f20ae5369abc928b3fae04f4f38594f0 /OpenSim/Data/PGSQL
parentRe-work handling of email notifications settings. (diff)
downloadopensim-SC-a76aec8467439a4c4c2249656fe84a9ee5b9426c.zip
opensim-SC-a76aec8467439a4c4c2249656fe84a9ee5b9426c.tar.gz
opensim-SC-a76aec8467439a4c4c2249656fe84a9ee5b9426c.tar.bz2
opensim-SC-a76aec8467439a4c4c2249656fe84a9ee5b9426c.tar.xz
Fix whitespace hoping to avoid a flogging
Diffstat (limited to 'OpenSim/Data/PGSQL')
-rw-r--r--OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs b/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs
index 1ac952f..f8b9ede 100644
--- a/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs
+++ b/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs
@@ -901,7 +901,7 @@ namespace OpenSim.Data.PGSQL
901 reader.Read(); 901 reader.Read();
902 bool.TryParse((string)reader["imviaemail"], out pref.IMViaEmail); 902 bool.TryParse((string)reader["imviaemail"], out pref.IMViaEmail);
903 bool.TryParse((string)reader["visible"], out pref.Visible); 903 bool.TryParse((string)reader["visible"], out pref.Visible);
904 pref.EMail = (string)reader["email"]; 904 pref.EMail = (string)reader["email"];
905 } 905 }
906 else 906 else
907 { 907 {
@@ -936,7 +936,7 @@ namespace OpenSim.Data.PGSQL
936 query += "UPDATE usersettings SET "; 936 query += "UPDATE usersettings SET ";
937 query += "imviaemail=:ImViaEmail, "; 937 query += "imviaemail=:ImViaEmail, ";
938 query += "visible=:Visible, "; 938 query += "visible=:Visible, ";
939 query += "email=:Email "; 939 query += "email=:Email ";
940 query += "WHERE useruuid=:uuid"; 940 query += "WHERE useruuid=:uuid";
941 941
942 try 942 try
@@ -947,8 +947,8 @@ namespace OpenSim.Data.PGSQL
947 using (NpgsqlCommand cmd = new NpgsqlCommand(query, dbcon)) 947 using (NpgsqlCommand cmd = new NpgsqlCommand(query, dbcon))
948 { 948 {
949 cmd.Parameters.Add(m_database.CreateParameter("ImViaEmail", pref.IMViaEmail.ToString().ToLower ())); 949 cmd.Parameters.Add(m_database.CreateParameter("ImViaEmail", pref.IMViaEmail.ToString().ToLower ()));
950 cmd.Parameters.Add(m_database.CreateParameter("Visible", pref.Visible.ToString().ToLower ())); 950 cmd.Parameters.Add(m_database.CreateParameter("Visible", pref.Visible.ToString().ToLower ()));
951 cmd.Parameters.Add(m_database.CreateParameter("EMail", pref.EMail.ToString().ToLower ())); 951 cmd.Parameters.Add(m_database.CreateParameter("EMail", pref.EMail.ToString().ToLower ()));
952 cmd.Parameters.Add(m_database.CreateParameter("uuid", pref.UserId.ToString())); 952 cmd.Parameters.Add(m_database.CreateParameter("uuid", pref.UserId.ToString()));
953 953
954 lock(Lock) 954 lock(Lock)