Skip to content
Snippets Groups Projects
Commit c07bc878 authored by mecachisenros's avatar mecachisenros
Browse files

Added ActionLog to non API entities Pre Hook.

parent 787a7e5b
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ class CRM_Civirules_Utils_PreData {
*
*/
public static function pre($op, $objectName, $objectId, $params) {
$nonPreEntities = array('GroupContact', 'EntityTag');
$nonPreEntities = array('GroupContact', 'EntityTag', 'ActionLog');
if ($op != 'edit' || in_array($objectName, $nonPreEntities)) {
return;
}
......@@ -78,4 +78,4 @@ class CRM_Civirules_Utils_PreData {
return array();
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment