Bugfix: DowntimeProcessor::AddDowntime() should return new downtime ID.

This commit is contained in:
Gunnar Beutner 2013-01-29 15:00:06 +01:00 committed by Michael Friedrich
parent 07a1249a97
commit d753a0c9cd
1 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,8 @@ int DowntimeProcessor::AddDowntime(const DynamicObject::Ptr& owner,
downtimes->Set(Convert::ToString(id), downtime);
owner->Set("downtimes", downtimes);
return id;
}
void DowntimeProcessor::RemoveDowntime(int id)