From fae34bb10cfa10702faf5c19d8c8517faa018cb5 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Tue, 9 Sep 2008 01:26:48 +0000 Subject: Update svn properties, formatting cleanup. --- .../Modules/ContentManagementSystem/ContentManagementModule.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/Environment/Modules/ContentManagementSystem/ContentManagementModule.cs') diff --git a/OpenSim/Region/Environment/Modules/ContentManagementSystem/ContentManagementModule.cs b/OpenSim/Region/Environment/Modules/ContentManagementSystem/ContentManagementModule.cs index 85eb927..f52c3b8 100644 --- a/OpenSim/Region/Environment/Modules/ContentManagementSystem/ContentManagementModule.cs +++ b/OpenSim/Region/Environment/Modules/ContentManagementSystem/ContentManagementModule.cs @@ -27,7 +27,7 @@ #region Header -// ContentManagementModule.cs +// ContentManagementModule.cs // User: bongiojp #endregion Header @@ -98,7 +98,7 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement { if (source.Configs["CMS"] == null) return; - + m_enabled = source.Configs["CMS"].GetBoolean("enabled", false); databaseDir = source.Configs["CMS"].GetString("directory", databaseDir); database = source.Configs["CMS"].GetString("database", database); @@ -122,7 +122,7 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement return; } - lock(this) + lock (this) { if (!initialised) //only init once { @@ -131,7 +131,7 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement m_control = new CMController(m_model, m_view, scene, channel); m_model.Initialise(database); m_view.Initialise(m_model); - + initialised = true; m_model.InitialiseDatabase(scene, databaseDir); } @@ -148,7 +148,7 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement if (! m_enabled) return; - lock(this) + lock (this) { if (!m_posted) //only post once { -- cgit v1.1