diff --git a/itl/types.conf b/itl/types.conf index 3db61c0f8..1a7d358dd 100644 --- a/itl/types.conf +++ b/itl/types.conf @@ -18,9 +18,6 @@ ******************************************************************************/ type DynamicObject { - %require "__abstract", - %attribute number "__abstract", - %require "__local", %attribute number "__local", diff --git a/lib/config/configtype.cpp b/lib/config/configtype.cpp index 669269c80..9d8620fcd 100644 --- a/lib/config/configtype.cpp +++ b/lib/config/configtype.cpp @@ -55,7 +55,7 @@ void ConfigType::ValidateItem(const ConfigItem::Ptr& item) const Dictionary::Ptr attrs = item->Link(); /* Don't validate abstract items. */ - if (attrs->Get("__abstract")) + if (item->IsAbstract()) return; vector locations;