aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Services/InventoryService/InventoryServiceBase.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Services/InventoryService/InventoryServiceBase.cs b/OpenSim/Services/InventoryService/InventoryServiceBase.cs
index a10e94f..179d541 100644
--- a/OpenSim/Services/InventoryService/InventoryServiceBase.cs
+++ b/OpenSim/Services/InventoryService/InventoryServiceBase.cs
@@ -61,7 +61,12 @@ namespace OpenSim.Services.InventoryService
61 if (m_Database == null) 61 if (m_Database == null)
62 throw new Exception("Could not find a storage interface in the given module"); 62 throw new Exception("Could not find a storage interface in the given module");
63 63
64 m_Database.Initialise(connString); 64 //m_Database.Initialise(connString);
65 List<IInventoryDataPlugin> plugins
66 = DataPluginFactory.LoadDataPlugins<IInventoryDataPlugin>(dllName, connString);
67
68 foreach (IInventoryDataPlugin plugin in plugins)
69 AddPlugin(plugin);
65 70
66 } 71 }
67 72
@@ -86,7 +91,7 @@ namespace OpenSim.Services.InventoryService
86 /// <param name="connect"> 91 /// <param name="connect">
87 /// The connection string for the storage backend. 92 /// The connection string for the storage backend.
88 /// </param> 93 /// </param>
89 public void AddPlugin(string provider, string connect) 94 public void AddPlugins(string provider, string connect)
90 { 95 {
91 m_plugins.AddRange(DataPluginFactory.LoadDataPlugins<IInventoryDataPlugin>(provider, connect)); 96 m_plugins.AddRange(DataPluginFactory.LoadDataPlugins<IInventoryDataPlugin>(provider, connect));
92 } 97 }