aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL
diff options
context:
space:
mode:
authorOren Hurvitz2014-04-24 14:19:03 +0300
committerOren Hurvitz2014-04-24 15:58:41 +0100
commitd15a3b10a3031b9552d67d2e2d435a689b448e2f (patch)
tree647c987c479a475ab247784cedef12779e92e7ff /OpenSim/Data/MySQL
parentFixed: hypergrid-linking stopped accepting the following format: "http://grid... (diff)
downloadopensim-SC_OLD-d15a3b10a3031b9552d67d2e2d435a689b448e2f.zip
opensim-SC_OLD-d15a3b10a3031b9552d67d2e2d435a689b448e2f.tar.gz
opensim-SC_OLD-d15a3b10a3031b9552d67d2e2d435a689b448e2f.tar.bz2
opensim-SC_OLD-d15a3b10a3031b9552d67d2e2d435a689b448e2f.tar.xz
When sending JSON-RPC calls (for UserProfile), use WebUtil instead of constructing the HTTP requests manually. This allows the calls to be logged when using "debug http all 6".
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r--OpenSim/Data/MySQL/MySQLUserProfilesData.cs5
1 files changed, 0 insertions, 5 deletions
diff --git a/OpenSim/Data/MySQL/MySQLUserProfilesData.cs b/OpenSim/Data/MySQL/MySQLUserProfilesData.cs
index cc4c5b0..e301bbe 100644
--- a/OpenSim/Data/MySQL/MySQLUserProfilesData.cs
+++ b/OpenSim/Data/MySQL/MySQLUserProfilesData.cs
@@ -634,8 +634,6 @@ namespace OpenSim.Data.MySQL
634 { 634 {
635 if(reader.HasRows) 635 if(reader.HasRows)
636 { 636 {
637 m_log.DebugFormat("[PROFILES_DATA]" +
638 ": Getting data for {0}.", props.UserId);
639 reader.Read(); 637 reader.Read();
640 props.WebUrl = (string)reader["profileURL"]; 638 props.WebUrl = (string)reader["profileURL"];
641 UUID.TryParse((string)reader["profileImage"], out props.ImageId); 639 UUID.TryParse((string)reader["profileImage"], out props.ImageId);
@@ -651,9 +649,6 @@ namespace OpenSim.Data.MySQL
651 } 649 }
652 else 650 else
653 { 651 {
654 m_log.DebugFormat("[PROFILES_DATA]" +
655 ": No data for {0}", props.UserId);
656
657 props.WebUrl = string.Empty; 652 props.WebUrl = string.Empty;
658 props.ImageId = UUID.Zero; 653 props.ImageId = UUID.Zero;
659 props.AboutText = string.Empty; 654 props.AboutText = string.Empty;