Skip to content

PHP warning fixes

rajeshs requested to merge github/fork/rajeshrhino/master into master

Created by: rajeshrhino

  1. Fixed PHP warnings
  2. Added new hook to be called before the contact is anonymized

Hook Definition: hook_civicrm_gdpr_alterAnonymizeContactParams(&$params)

Hook Parameters: array $params - contact parameters that were sent into the calling function

Example: $params = Array

(
    [sequential] => 1
    [id] => 264210
    [last_name] => Anonymous
)

Merge request reports

Loading