IcingaConfig: store file statistics

This commit is contained in:
Thomas Gelf 2015-12-18 17:32:17 +01:00
parent a09e1d638c
commit 4d13f8a9af
1 changed files with 4 additions and 2 deletions

View File

@ -237,8 +237,10 @@ class IcingaConfig
$this->db->insert(
$fileTable,
array(
$fileKey => $this->dbBin($checksum),
'content' => $file->getContent()
$fileKey => $this->dbBin($checksum),
'content' => $file->getContent(),
'cnt_object' => $file->getObjectCount(),
'cnt_template' => $file->getTemplateCount()
)
);
}