Implement validateOnly flag for LoadConfigFiles().

This commit is contained in:
Gunnar Beutner 2013-02-05 16:16:34 +01:00
parent 59f1d3ffc0
commit a5a51a6123
1 changed files with 3 additions and 0 deletions

View File

@ -83,6 +83,9 @@ static bool LoadConfigFiles(bool validateOnly)
}
}*/
if (validateOnly)
return true;
context.ActivateItems();
BOOST_FOREACH(const ConfigItem::WeakPtr& witem, g_ConfigItems) {