diff --git a/lib/icinga/comment.ti b/lib/icinga/comment.ti index 8e76a8b3d..8ac497aac 100644 --- a/lib/icinga/comment.ti +++ b/lib/icinga/comment.ti @@ -88,7 +88,7 @@ class Comment : ConfigObject < CommentNameComposer [config, required] String author; [config, required] String text; [config] double expire_time; - int legacy_id; + [state] int legacy_id; }; } diff --git a/lib/icinga/downtime.ti b/lib/icinga/downtime.ti index 774cc1d26..d5a16988a 100644 --- a/lib/icinga/downtime.ti +++ b/lib/icinga/downtime.ti @@ -81,7 +81,7 @@ class Downtime : ConfigObject < DowntimeNameComposer [state] Array::Ptr triggers { default {{{ return new Array(); }}} }; - int legacy_id; + [state] int legacy_id; [state] bool was_cancelled; [config] String config_owner; };