From 06db136fbc1b35b3aee0702ae9a6a648e541c03c Mon Sep 17 00:00:00 2001
From: Oren Hurvitz
Date: Sun, 20 Apr 2014 12:49:53 +0300
Subject: Removed an attempt to set a user's presence to "Region 0" when they
 HG teleport to another grid.

a) This shouldn't have been done because at that point the user is still logged-in to the current grid. b) It's not necessary because the user will soon be logged-out completely. c) And it didn't even work because the MySQL database layer prevents setting the region to 0.
---
 OpenSim/Services/HypergridService/UserAgentService.cs | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/OpenSim/Services/HypergridService/UserAgentService.cs b/OpenSim/Services/HypergridService/UserAgentService.cs
index 6ec2f19..2dba11d 100644
--- a/OpenSim/Services/HypergridService/UserAgentService.cs
+++ b/OpenSim/Services/HypergridService/UserAgentService.cs
@@ -280,9 +280,6 @@ namespace OpenSim.Services.HypergridService
             else
             {
                 success = m_GatekeeperConnector.CreateAgent(source, region, agentCircuit, (uint)Constants.TeleportFlags.ViaLogin, out myExternalIP, out reason);
-                if (success)
-                    // Report them as nowhere
-                    m_PresenceService.ReportAgent(agentCircuit.SessionID, UUID.Zero);
             }
 
             if (!success)
-- 
cgit v1.1