Stop writing partner id to record when updating profile data. This should be changed only by admin in backend.
parent
9b76a46df0
commit
823a175f07
|
@ -736,7 +736,6 @@ namespace OpenSim.Data.MySQL
|
|||
string query = string.Empty;
|
||||
|
||||
query += "UPDATE userprofile SET ";
|
||||
query += "profilePartner=?profilePartner, ";
|
||||
query += "profileURL=?profileURL, ";
|
||||
query += "profileImage=?image, ";
|
||||
query += "profileAboutText=?abouttext,";
|
||||
|
@ -752,7 +751,6 @@ namespace OpenSim.Data.MySQL
|
|||
using (MySqlCommand cmd = new MySqlCommand(query, dbcon))
|
||||
{
|
||||
cmd.Parameters.AddWithValue("?profileURL", props.WebUrl);
|
||||
cmd.Parameters.AddWithValue("?profilePartner", props.PartnerId.ToString());
|
||||
cmd.Parameters.AddWithValue("?image", props.ImageId.ToString());
|
||||
cmd.Parameters.AddWithValue("?abouttext", props.AboutText);
|
||||
cmd.Parameters.AddWithValue("?firstlifeimage", props.FirstLifeImageId.ToString());
|
||||
|
|
Loading…
Reference in New Issue