diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/OpenSimBase.cs | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index f3f715a..f265769 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs | |||
@@ -200,12 +200,6 @@ namespace OpenSim | |||
200 | plugin.PostInitialise(); | 200 | plugin.PostInitialise(); |
201 | } | 201 | } |
202 | 202 | ||
203 | // Only enable logins to the regions once we have completely finished starting up (apart from scripts) | ||
204 | if ((SceneManager.CurrentOrFirstScene != null) && (SceneManager.CurrentOrFirstScene.SceneGridService != null)) | ||
205 | { | ||
206 | SceneManager.CurrentOrFirstScene.SceneGridService.RegionLoginsEnabled = true; | ||
207 | } | ||
208 | |||
209 | AddPluginCommands(); | 203 | AddPluginCommands(); |
210 | } | 204 | } |
211 | 205 | ||
@@ -276,31 +270,6 @@ namespace OpenSim | |||
276 | } | 270 | } |
277 | 271 | ||
278 | /// <summary> | 272 | /// <summary> |
279 | /// Initialises the asset cache. This supports legacy configuration values | ||
280 | /// to ensure consistent operation, but values outside of that namespace | ||
281 | /// are handled by the more generic resolution mechanism provided by | ||
282 | /// the ResolveAssetServer virtual method. If extended resolution fails, | ||
283 | /// then the normal default action is taken. | ||
284 | /// Creation of the AssetCache is handled by ResolveAssetCache. This | ||
285 | /// function accepts a reference to the instantiated AssetServer and | ||
286 | /// returns an IAssetCache implementation, if possible. This is a virtual | ||
287 | /// method. | ||
288 | /// </summary> | ||
289 | public void ProcessLogin(bool LoginEnabled) | ||
290 | { | ||
291 | if (LoginEnabled) | ||
292 | { | ||
293 | m_log.Info("[LOGIN]: Login is now enabled."); | ||
294 | SceneManager.CurrentOrFirstScene.SceneGridService.RegionLoginsEnabled = true; | ||
295 | } | ||
296 | else | ||
297 | { | ||
298 | m_log.Info("[LOGIN]: Login is now disabled."); | ||
299 | SceneManager.CurrentOrFirstScene.SceneGridService.RegionLoginsEnabled = false; | ||
300 | } | ||
301 | } | ||
302 | |||
303 | /// <summary> | ||
304 | /// Execute the region creation process. This includes setting up scene infrastructure. | 273 | /// Execute the region creation process. This includes setting up scene infrastructure. |
305 | /// </summary> | 274 | /// </summary> |
306 | /// <param name="regionInfo"></param> | 275 | /// <param name="regionInfo"></param> |