/** * Delete the activities related to case * * @param int $activityId id of the activity * * @return void * @access public * @static */ static function deleteCaseActivity($activityId) { $case = new CRM_Case_DAO_CaseActivity(); $case->activity_id = $activityId; $case->delete(); }
/** * Delete the activities related to case * @param int $activityId id of the activity * * @return void * @access public * @static */ static function deleteCaseActivity($activityId) { require_once 'CRM/Case/DAO/CaseActivity.php'; $case = new CRM_Case_DAO_CaseActivity(); $case->activity_id = $activityId; $case->delete(); }