mirror of
https://github.com/opensim/opensim.git
synced 2026-07-03 09:29:21 +08:00
Attachments now save to MySQL. No reattach on login yet.
This commit is contained in:
@@ -834,14 +834,15 @@ namespace OpenSim.Data.MySQL
|
||||
|
||||
IDataReader r = cmd.ExecuteReader();
|
||||
|
||||
return database.readAttachments(r);
|
||||
Hashtable ret = database.readAttachments(r);
|
||||
|
||||
r.Close();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
public void UpdateUserAttachments(LLUUID agentID, Hashtable data)
|
||||
{
|
||||
if(data == null)
|
||||
return;
|
||||
|
||||
database.writeAttachments(agentID, data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user