diff --git a/OpenSim/Services/InventoryService/InventoryServiceBase.cs b/OpenSim/Services/InventoryService/InventoryServiceBase.cs index a10e94f45f..179d54144b 100644 --- a/OpenSim/Services/InventoryService/InventoryServiceBase.cs +++ b/OpenSim/Services/InventoryService/InventoryServiceBase.cs @@ -61,7 +61,12 @@ namespace OpenSim.Services.InventoryService if (m_Database == null) throw new Exception("Could not find a storage interface in the given module"); - m_Database.Initialise(connString); + //m_Database.Initialise(connString); + List plugins + = DataPluginFactory.LoadDataPlugins(dllName, connString); + + foreach (IInventoryDataPlugin plugin in plugins) + AddPlugin(plugin); } @@ -86,7 +91,7 @@ namespace OpenSim.Services.InventoryService /// /// The connection string for the storage backend. /// - public void AddPlugin(string provider, string connect) + public void AddPlugins(string provider, string connect) { m_plugins.AddRange(DataPluginFactory.LoadDataPlugins(provider, connect)); }