Only export config objects to Redis

refs #4991
This commit is contained in:
Gunnar Beutner 2017-03-16 09:14:45 +01:00
parent e5c0295c9e
commit 0eada26b04
1 changed files with 2 additions and 1 deletions

View File

@ -41,9 +41,10 @@ value: JsonEncode(Serialize(object, FAState))
//TODO: OnActiveChanged handling.
void RedisWriter::UpdateAllConfigObjects(void)
{
//TODO: Just use config types
for (const Type::Ptr& type : Type::GetAllTypes()) {
if (!ConfigObject::TypeInstance->IsAssignableFrom(type))
continue;
String typeName = type->GetName();