MCPcopy Create free account
hub / github.com/Icinga/icinga2 / IsExpired

Method IsExpired

lib/icinga/comment.cpp:120–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120bool Comment::IsExpired() const
121{
122 double expire_time = GetExpireTime();
123
124 return (expire_time != 0 && expire_time < Utility::GetTime());
125}
126
127int Comment::GetNextCommentID()
128{

Calls

no outgoing calls

Tested by

no test coverage detected