Don't discard config validators

This commit is contained in:
Gunnar Beutner 2015-03-04 09:12:57 +01:00
parent 47842e2797
commit c33e78aa04
3 changed files with 0 additions and 7 deletions

View File

@ -378,7 +378,6 @@ bool ConfigItem::CommitItems(void)
}
ApplyRule::CheckMatches();
ConfigType::DiscardTypes();
/* log stats for external parsers */
BOOST_FOREACH(const DynamicType::Ptr& type, DynamicType::GetTypes()) {

View File

@ -269,11 +269,6 @@ ConfigTypeRegistry::ItemMap ConfigType::GetTypes(void)
return ConfigTypeRegistry::GetInstance()->GetItems();
}
void ConfigType::DiscardTypes(void)
{
ConfigTypeRegistry::GetInstance()->Clear();
}
ConfigTypeRegistry *ConfigTypeRegistry::GetInstance(void)
{
return Singleton<ConfigTypeRegistry>::GetInstance();

View File

@ -56,7 +56,6 @@ public:
void Register(void);
static ConfigType::Ptr GetByName(const String& name);
static Registry<ConfigType, ConfigType::Ptr>::ItemMap GetTypes(void);
static void DiscardTypes(void);
private:
String m_Name; /**< The type name. */