IcingaObject: log changes before storing relations

This commit is contained in:
Thomas Gelf 2015-08-29 01:03:34 +02:00
parent 74bb7d891e
commit 0507a65e0b
1 changed files with 2 additions and 2 deletions

View File

@ -479,14 +479,14 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
public function onInsert()
{
$this->storeRelatedObjects();
DirectorActivityLog::logCreation($this, $this->connection);
$this->storeRelatedObjects();
}
public function onUpdate()
{
$this->storeRelatedObjects();
DirectorActivityLog::logModification($this, $this->connection);
$this->storeRelatedObjects();
}
protected function storeCustomVars()