From 81d5a4b6d8d8548dde98cbf827d171bb1ebf96ba Mon Sep 17 00:00:00 2001
From: Melanie
Date: Sun, 10 Jan 2010 03:03:18 +0000
Subject: Remove "login disable", "login enable" and "login status" commands.
---
OpenSim/Region/Application/OpenSim.cs | 48 -----------------------------------
1 file changed, 48 deletions(-)
(limited to 'OpenSim/Region/Application/OpenSim.cs')
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 82b2fd4..c9f2cfa 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -287,18 +287,6 @@ namespace OpenSim
"create region",
"Create a new region", HandleCreateRegion);
- m_console.Commands.AddCommand("region", false, "login enable",
- "login enable",
- "Enable logins to the simulator", HandleLoginEnable);
-
- m_console.Commands.AddCommand("region", false, "login disable",
- "login disable",
- "Disable logins to the simulator", HandleLoginDisable);
-
- m_console.Commands.AddCommand("region", false, "login status",
- "login status",
- "Display status of logins", HandleLoginStatus);
-
m_console.Commands.AddCommand("region", false, "restart",
"restart",
"Restart all sims in this instance", RunCommand);
@@ -559,42 +547,6 @@ namespace OpenSim
}
///
- /// Enable logins
- ///
- ///
- ///
- private void HandleLoginEnable(string module, string[] cmd)
- {
- ProcessLogin(true);
- }
-
-
- ///
- /// Disable logins
- ///
- ///
- ///
- private void HandleLoginDisable(string module, string[] cmd)
- {
- ProcessLogin(false);
- }
-
- ///
- /// Log login status to the console
- ///
- ///
- ///
- private void HandleLoginStatus(string module, string[] cmd)
- {
- if (m_sceneManager.CurrentOrFirstScene.SceneGridService.RegionLoginsEnabled == false)
-
- m_log.Info("[ Login ] Login are disabled ");
- else
- m_log.Info("[ Login ] Login are enabled");
- }
-
-
- ///
/// Change and load configuration file data.
///
///
--
cgit v1.1