Private GIT

Skip to content
Snippets Groups Projects
Commit ea6aa27b authored by Jean-Baptiste's avatar Jean-Baptiste Committed by Kev
Browse files

CLAPI - Host - Save changes in logs (#5442)

Save changes in logs (Set/Add/Del)...
parent 13281003
Branches
Tags
No related merge requests found
...@@ -869,6 +869,12 @@ class CentreonHost extends CentreonObject ...@@ -869,6 +869,12 @@ class CentreonHost extends CentreonObject
$aclObj = new CentreonACL(); $aclObj = new CentreonACL();
$aclObj->reload(true); $aclObj->reload(true);
} }
$this->addAuditLog(
'c',
$hostId,
$args[0],
array($matches[2] => str_replace('|', ',', $args[1]))
);
} }
} else { } else {
throw new CentreonClapiException(self::UNKNOWN_METHOD); throw new CentreonClapiException(self::UNKNOWN_METHOD);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment