IInentoryDataPlugins were missing.

0.6.6-post-fixes
diva 2009-06-08 17:22:23 +00:00
parent 9216f4b7c2
commit 398d321f15
1 changed files with 7 additions and 2 deletions

View File

@ -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<IInventoryDataPlugin> plugins
= DataPluginFactory.LoadDataPlugins<IInventoryDataPlugin>(dllName, connString);
foreach (IInventoryDataPlugin plugin in plugins)
AddPlugin(plugin);
}
@ -86,7 +91,7 @@ namespace OpenSim.Services.InventoryService
/// <param name="connect">
/// The connection string for the storage backend.
/// </param>
public void AddPlugin(string provider, string connect)
public void AddPlugins(string provider, string connect)
{
m_plugins.AddRange(DataPluginFactory.LoadDataPlugins<IInventoryDataPlugin>(provider, connect));
}