Beispiel #1
0
 public function updateAuditLog(Monitoring $monitoring, $action)
 {
     $log = ["bundle" => "plugin.mauticSocial", "object" => "monitoring", "objectId" => $monitoring->getId(), "action" => $action, "details" => ['name' => $monitoring->getTitle()], "ipAddress" => $this->container->get('mautic.helper.ip_lookup')->getIpAddressFromRequest()];
     $this->getModel('core.auditLog')->writeToLog($log);
 }
 public function updateAuditLog(Monitoring $monitoring, $action)
 {
     $log = ['bundle' => 'plugin.mauticSocial', 'object' => 'monitoring', 'objectId' => $monitoring->getId(), 'action' => $action, 'details' => ['name' => $monitoring->getTitle()], 'ipAddress' => $this->container->get('mautic.helper.ip_lookup')->getIpAddressFromRequest()];
     $this->getModel('core.auditLog')->writeToLog($log);
 }