diff options
Diffstat (limited to 'OpenSim/Grid')
-rw-r--r-- | OpenSim/Grid/AssetServer/Main.cs | 2 | ||||
-rw-r--r-- | OpenSim/Grid/GridServer/GridManager.cs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Grid/AssetServer/Main.cs b/OpenSim/Grid/AssetServer/Main.cs index c71e53f..4609ee8 100644 --- a/OpenSim/Grid/AssetServer/Main.cs +++ b/OpenSim/Grid/AssetServer/Main.cs | |||
@@ -118,7 +118,7 @@ namespace OpenSim.Grid.AssetServer | |||
118 | { | 118 | { |
119 | try | 119 | try |
120 | { | 120 | { |
121 | m_assetProvider = DataPluginFactory.LoadAssetDataPlugin(config.DatabaseProvider, config.DatabaseConnect); | 121 | m_assetProvider = DataPluginFactory.LoadDataPlugin<IAssetDataPlugin>(config.DatabaseProvider, config.DatabaseConnect); |
122 | if (m_assetProvider == null) | 122 | if (m_assetProvider == null) |
123 | { | 123 | { |
124 | m_log.Error("[ASSET]: Failed to load a database plugin, server halting"); | 124 | m_log.Error("[ASSET]: Failed to load a database plugin, server halting"); |
diff --git a/OpenSim/Grid/GridServer/GridManager.cs b/OpenSim/Grid/GridServer/GridManager.cs index 3fc0393..f98809d 100644 --- a/OpenSim/Grid/GridServer/GridManager.cs +++ b/OpenSim/Grid/GridServer/GridManager.cs | |||
@@ -83,8 +83,8 @@ namespace OpenSim.Grid.GridServer | |||
83 | /// </param> | 83 | /// </param> |
84 | public void AddPlugin(string provider, string connect) | 84 | public void AddPlugin(string provider, string connect) |
85 | { | 85 | { |
86 | _plugins = DataPluginFactory.LoadGridDataPlugins(provider, connect); | 86 | _plugins = DataPluginFactory.LoadDataPlugins<IGridDataPlugin>(provider, connect); |
87 | _logplugins = DataPluginFactory.LoadLogDataPlugins(provider, connect); | 87 | _logplugins = DataPluginFactory.LoadDataPlugins<ILogDataPlugin>(provider, connect); |
88 | } | 88 | } |
89 | 89 | ||
90 | /// <summary> | 90 | /// <summary> |