IcingaObject: add TODO for unhandled situation

This commit is contained in:
Thomas Gelf 2015-12-10 12:53:24 +01:00
parent 0f9f172ebb
commit 91b486cc66
1 changed files with 1 additions and 0 deletions

View File

@ -188,6 +188,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
if (in_array($object->object_type, array('object', 'external_object'))) {
return parent::set($key . '_id', $object->id);
}
// TODO: what shall we do if it is a template? Fail?
}
return parent::set($key, $value);