Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-6271

hook_post isn't called deleting an activity

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.2
    • Component/s: None
    • Labels:
      None

      Description

      As the title says, the hook_post isn't called when I delete an activity.

      function civicrm_phonecampaign_civicrm_post($op, $objectName, $objectId, &$objectRef) {
      if ($objectName == 'Activity')

      { CRM_Core_Error::debug_var('op', $op); }

      }

      That code doesn't log anything when I'm deleting. It's logging ok when I create an activity.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              manonline Mariano Renzi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: