Removed obsolete interface IHyperlink.

This commit is contained in:
Diva Canto
2010-01-24 16:23:18 -08:00
parent 8ddf787cfd
commit 70465f4c90
4 changed files with 4 additions and 86 deletions

View File

@@ -58,8 +58,6 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation
protected LocalSimulationConnectorModule m_localBackend;
protected SimulationServiceConnector m_remoteConnector;
protected IHyperlinkService m_hyperlinkService;
protected bool m_safemode;
protected IPAddress m_thisIP;
@@ -124,9 +122,6 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation
{
if (!m_enabled)
return;
m_hyperlinkService = m_aScene.RequestModuleInterface<IHyperlinkService>();
}
public Type ReplaceableInterface

View File

@@ -104,25 +104,6 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
if (info != null) regionInfos.Add(info);
}
if ((regionInfos.Count == 0))
{
// OK, we tried but there are no regions matching that name.
// Let's check quickly if this is a domain name, and if so link to it
if (mapName.Contains("."))
{
// It probably is a domain name. Try to link to it.
GridRegion regInfo;
Scene cScene = GetClientScene(remoteClient);
IHyperlinkService hyperService = cScene.RequestModuleInterface<IHyperlinkService>();
if (hyperService != null)
{
regInfo = hyperService.TryLinkRegion(remoteClient, mapName);
if (regInfo != null)
regionInfos.Add(regInfo);
}
}
}
List<MapBlockData> blocks = new List<MapBlockData>();
MapBlockData data;