| 87 | } |
| 88 | |
| 89 | bool RemoveConfig( const EffectDefinitionInterface &ident, |
| 90 | PluginSettings::ConfigurationType type, |
| 91 | const RegistryPath & group, const RegistryPath & key) |
| 92 | { |
| 93 | auto &pluginManager = PluginManager::Get(); |
| 94 | const auto &id = pluginManager.GetID(&ident); |
| 95 | const auto &id2 = pluginManager.OldGetID(&ident); |
| 96 | return pluginManager.RemoveConfig(type, id, group, key) |
| 97 | || (id2 != id && pluginManager.RemoveConfig(type, id2, group, key)); |
| 98 | } |
| 99 | |
| 100 | } |
no test coverage detected