From 5e4d6cab00cb29cd088ab7b62ab13aff103b64cb Mon Sep 17 00:00:00 2001 From: onefang Date: Sun, 19 May 2019 21:24:15 +1000 Subject: Dump OpenSim 0.9.0.1 into it's own branch. --- OpenSim/Data/PGSQL/PGSQLAgentPreferencesData.cs | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'OpenSim/Data/PGSQL/PGSQLAgentPreferencesData.cs') diff --git a/OpenSim/Data/PGSQL/PGSQLAgentPreferencesData.cs b/OpenSim/Data/PGSQL/PGSQLAgentPreferencesData.cs index 20612fe..4794c71 100644 --- a/OpenSim/Data/PGSQL/PGSQLAgentPreferencesData.cs +++ b/OpenSim/Data/PGSQL/PGSQLAgentPreferencesData.cs @@ -44,20 +44,12 @@ namespace OpenSim.Data.PGSQL public AgentPreferencesData GetPrefs(UUID agentID) { - // Until someone sends in a table that works - return null; - //AgentPreferencesData[] ret = Get("PrincipalID", agentID.ToString()); - //if (ret.Length == 0) - // return null; + AgentPreferencesData[] ret = Get("PrincipalID", agentID.ToString()); - //return ret[0]; - } - - public override bool Store(AgentPreferencesData row) - { - // Until someone sends in a table that works - return false; + if (ret.Length == 0) + return null; + return ret[0]; } } -- cgit v1.1