From b2486df67c11cb79ef08882299d3d6fbeac05448 Mon Sep 17 00:00:00 2001
From: Melanie
Date: Sun, 5 Sep 2010 18:06:42 +0100
Subject: Friends works differently, it' snot even a region module at all, but
a connector that is loaded by the core friends module. Change Simian to
match.
---
.../SimianGrid/SimianFriendsServiceConnector.cs | 17 +----------------
1 file changed, 1 insertion(+), 16 deletions(-)
(limited to 'OpenSim/Services/Connectors/SimianGrid')
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs
index 1afb1e1..5b18aef 100644
--- a/OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs
+++ b/OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs
@@ -46,8 +46,7 @@ namespace OpenSim.Services.Connectors.SimianGrid
///
/// Stores and retrieves friend lists from the SimianGrid backend
///
- [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule")]
- public class SimianFriendsServiceConnector : IFriendsService, ISharedRegionModule
+ public class SimianFriendsServiceConnector : IFriendsService
{
private static readonly ILog m_log =
LogManager.GetLogger(
@@ -55,20 +54,6 @@ namespace OpenSim.Services.Connectors.SimianGrid
private string m_serverUrl = String.Empty;
- #region ISharedRegionModule
-
- public Type ReplaceableInterface { get { return null; } }
- public void RegionLoaded(Scene scene) { }
- public void PostInitialise() { }
- public void Close() { }
-
- public SimianFriendsServiceConnector() { }
- public string Name { get { return "SimianFriendsServiceConnector"; } }
- public void AddRegion(Scene scene) { if (!String.IsNullOrEmpty(m_serverUrl)) { scene.RegisterModuleInterface(this); } }
- public void RemoveRegion(Scene scene) { if (!String.IsNullOrEmpty(m_serverUrl)) { scene.UnregisterModuleInterface(this); } }
-
- #endregion ISharedRegionModule
-
public SimianFriendsServiceConnector(IConfigSource source)
{
Initialise(source);
--
cgit v1.1