From ba989e9fd10739d8a1092bcb252bbf72f15f06b0 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 27 Jun 2008 16:51:24 +0000 Subject: * restore suppression of mono addins manager warnings --- OpenSim/Framework/PluginLoader.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'OpenSim/Framework/PluginLoader.cs') diff --git a/OpenSim/Framework/PluginLoader.cs b/OpenSim/Framework/PluginLoader.cs index 26df3d1..d0f9282 100644 --- a/OpenSim/Framework/PluginLoader.cs +++ b/OpenSim/Framework/PluginLoader.cs @@ -48,6 +48,7 @@ namespace OpenSim.Framework { suppress_console_output_ (true); AddinManager.Initialize (dir); + AddinManager.Registry.Update (null); suppress_console_output_ (false); } @@ -60,9 +61,7 @@ namespace OpenSim.Framework } public void Load (string extpoint, Initialiser initialize) - { - AddinManager.Registry.Update (null); - + { ExtensionNodeList ns = AddinManager.GetExtensionNodes(extpoint); foreach (TypeExtensionNode n in ns) { @@ -96,7 +95,7 @@ namespace OpenSim.Framework Directory.Delete("addin-db-001", true); } - private static TextWriter prev_console_; + private static TextWriter prev_console_; public void suppress_console_output_ (bool save) { if (save) -- cgit v1.1