From 22599fbf29910b62b10c243c194cdf75dfc3d821 Mon Sep 17 00:00:00 2001 From: Melanie Date: Sun, 6 Oct 2019 19:51:46 +0100 Subject: Remove a no longer used property that used ScopeID in an improper way --- OpenSim/Services/GridService/HypergridLinker.cs | 28 ------------------------- 1 file changed, 28 deletions(-) diff --git a/OpenSim/Services/GridService/HypergridLinker.cs b/OpenSim/Services/GridService/HypergridLinker.cs index 74d5abd..9c66e3d 100644 --- a/OpenSim/Services/GridService/HypergridLinker.cs +++ b/OpenSim/Services/GridService/HypergridLinker.cs @@ -69,34 +69,6 @@ namespace OpenSim.Services.GridService protected string m_ThisGatekeeperHost = string.Empty; protected string m_ThisGateKeeperIP = string.Empty; - protected GridRegion m_DefaultRegion; - protected GridRegion DefaultRegion - { - get - { - if (m_DefaultRegion == null) - { - List defs = m_GridService.GetDefaultHypergridRegions(m_ScopeID); - if (defs != null && defs.Count > 0) - m_DefaultRegion = defs[0]; - else - { - // Get any region - defs = m_GridService.GetRegionsByName(m_ScopeID, "", 1); - if (defs != null && defs.Count > 0) - m_DefaultRegion = defs[0]; - else - { - // This shouldn't happen - m_DefaultRegion = new GridRegion(1000, 1000); - m_log.Error("[HYPERGRID LINKER]: Something is wrong with this grid. It has no regions?"); - } - } - } - return m_DefaultRegion; - } - } - public HypergridLinker(IConfigSource config, GridService gridService, IRegionData db) { IConfig gridConfig = config.Configs["GridService"]; -- cgit v1.1