mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
Removed the pgsql table for AgentPrefs, because it is not working. For now the Agent Preferences feature will not work with PGSQL installations -- someone who uses PGSQL needs to send a table that works.
This commit is contained in:
@@ -44,12 +44,20 @@ namespace OpenSim.Data.PGSQL
|
||||
|
||||
public AgentPreferencesData GetPrefs(UUID agentID)
|
||||
{
|
||||
AgentPreferencesData[] ret = Get("PrincipalID", agentID.ToString());
|
||||
// Until someone sends in a table that works
|
||||
return null;
|
||||
//AgentPreferencesData[] ret = Get("PrincipalID", agentID.ToString());
|
||||
|
||||
if (ret.Length == 0)
|
||||
return null;
|
||||
//if (ret.Length == 0)
|
||||
// return null;
|
||||
|
||||
return ret[0];
|
||||
//return ret[0];
|
||||
}
|
||||
|
||||
public override bool Store(AgentPreferencesData row)
|
||||
{
|
||||
// Until someone sends in a table that works
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user