IcingaConfig: binFromDb() - new helper
This commit is contained in:
parent
e64e72cb52
commit
343c9471c6
|
@ -175,6 +175,15 @@ class IcingaConfig
|
|||
}
|
||||
}
|
||||
|
||||
protected function binFromDb($value)
|
||||
{
|
||||
if (is_resource($value)) {
|
||||
return stream_get_contents($value);
|
||||
}
|
||||
|
||||
return $val;
|
||||
}
|
||||
|
||||
protected function calculateChecksum()
|
||||
{
|
||||
$files = array($this->getLastActivityHexChecksum());
|
||||
|
|
Loading…
Reference in New Issue