diff options
author | Justin Clark-Casey (justincc) | 2010-03-05 00:54:46 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-03-05 00:54:46 +0000 |
commit | e39fc95659a405a8500c9014d2ac31c5d85741d7 (patch) | |
tree | 19cf14d99216d77ce5855aa75fc58f2f004c09fa /OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/LocalPresenceServiceConnector.cs | |
parent | Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-e39fc95659a405a8500c9014d2ac31c5d85741d7.zip opensim-SC_OLD-e39fc95659a405a8500c9014d2ac31c5d85741d7.tar.gz opensim-SC_OLD-e39fc95659a405a8500c9014d2ac31c5d85741d7.tar.bz2 opensim-SC_OLD-e39fc95659a405a8500c9014d2ac31c5d85741d7.tar.xz |
Fix LocalPresenceServiceConnector test now that the hardcoded test data has been removed from Data.Null.NullPresenceData
Unfortunately, this meant publicly exposing the underlying service for the connector.
The other solution would be to create alternative initializers for services and connectors where objects could be given directly rather than loaded indirectly through config.
Unfortunately, this would require a lot of work in this case but might be the better way forward.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/LocalPresenceServiceConnector.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/LocalPresenceServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/LocalPresenceServiceConnector.cs index d78daf9..c402a3f 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/LocalPresenceServiceConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/LocalPresenceServiceConnector.cs | |||
@@ -47,7 +47,11 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Presence | |||
47 | private bool m_Enabled = false; | 47 | private bool m_Enabled = false; |
48 | 48 | ||
49 | private PresenceDetector m_PresenceDetector; | 49 | private PresenceDetector m_PresenceDetector; |
50 | private IPresenceService m_PresenceService; | 50 | |
51 | /// <summary> | ||
52 | /// Underlying presence service. Do not use directly. | ||
53 | /// </summary> | ||
54 | public IPresenceService m_PresenceService; | ||
51 | 55 | ||
52 | public LocalPresenceServicesConnector() | 56 | public LocalPresenceServicesConnector() |
53 | { | 57 | { |