From 398d321f15d1fed3c0abe7ad795f513c5659fc73 Mon Sep 17 00:00:00 2001 From: diva Date: Mon, 8 Jun 2009 17:22:23 +0000 Subject: IInentoryDataPlugins were missing. --- OpenSim/Services/InventoryService/InventoryServiceBase.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'OpenSim') 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 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)); } -- cgit v1.1