On Wednesday, November 24, 2010 03:10:24 pm Denys Vlasenko wrote:
On Mon, 2010-11-22 at 16:38 +0100, Nikola Pajkovsky wrote:
> Signed-off-by: Nikola Pajkovsky <npajkovs(a)redhat.com>
> ---
>
> src/daemon/PluginManager.cpp | 1 -
> src/daemon/PluginManager.h | 4 ----
> 2 files changed, 0 insertions(+), 5 deletions(-)
>
> diff --git a/src/daemon/PluginManager.cpp b/src/daemon/PluginManager.cpp
> index 0f7b983..29ba5ef 100644
> --- a/src/daemon/PluginManager.cpp
> +++ b/src/daemon/PluginManager.cpp
> @@ -135,7 +135,6 @@ CPlugin* CPluginManager::LoadPlugin(const char
> *pName, bool enabled_only)
>
> map_plugin_settings_t pluginSettings;
> string conf_fullname =
> ssprintf(PLUGINS_CONF_DIR"/%s."PLUGINS_CONF_EXTENSION, conf_name);
> LoadPluginSettings(conf_fullname.c_str(), pluginSettings);
>
> - m_map_plugin_settings[pName] = pluginSettings;
>
> /* If settings are empty, most likely .conf file does not exist.
>
> * Don't mislead the user: */
>
> VERB3 if (!pluginSettings.empty()) log("Loaded %s.conf", conf_name);
>
> diff --git a/src/daemon/PluginManager.h b/src/daemon/PluginManager.h
> index 1d2b4bd..f2e849a 100644
> --- a/src/daemon/PluginManager.h
> +++ b/src/daemon/PluginManager.h
> @@ -49,10 +49,6 @@ class CPluginManager
>
> * Registered plugins. A key is a plugin name.
> */
>
> map_plugin_t m_mapPlugins;
>
> - /**
> - * List of all possible plugins (loaded or not), with some
> attributes. - */
> - map_map_string_t m_map_plugin_settings;
>
> public:
> /**
There are a lot more unused things in other parts of remaining "old"
plugin code. Instead of removing it bit by bit, which will take
a lot of commits,
let's finish the conversion of Kerneloops and CCpp and then
remove all "old" plugin code in one go.
Ok, I found it, when I was removing c++ isms.
--
Nikola