aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/PGSQL/PGSQLAgentPreferencesData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/PGSQL/PGSQLAgentPreferencesData.cs')
-rw-r--r--OpenSim/Data/PGSQL/PGSQLAgentPreferencesData.cs16
1 files changed, 12 insertions, 4 deletions
diff --git a/OpenSim/Data/PGSQL/PGSQLAgentPreferencesData.cs b/OpenSim/Data/PGSQL/PGSQLAgentPreferencesData.cs
index 7f3cbee..20612fe 100644
--- a/OpenSim/Data/PGSQL/PGSQLAgentPreferencesData.cs
+++ b/OpenSim/Data/PGSQL/PGSQLAgentPreferencesData.cs
@@ -44,12 +44,20 @@ namespace OpenSim.Data.PGSQL
44 44
45 public AgentPreferencesData GetPrefs(UUID agentID) 45 public AgentPreferencesData GetPrefs(UUID agentID)
46 { 46 {
47 AgentPreferencesData[] ret = Get("PrincipalID", agentID.ToString()); 47 // Until someone sends in a table that works
48 return null;
49 //AgentPreferencesData[] ret = Get("PrincipalID", agentID.ToString());
48 50
49 if (ret.Length == 0) 51 //if (ret.Length == 0)
50 return null; 52 // return null;
51 53
52 return ret[0]; 54 //return ret[0];
55 }
56
57 public override bool Store(AgentPreferencesData row)
58 {
59 // Until someone sends in a table that works
60 return false;
53 } 61 }
54 62
55 } 63 }