/**
  * Delete activity assignment record
  *
  * @param int    $id  activity id
  *
  * @return null
  * @access public
  */
 public static function deleteActivityAssignment($activityId)
 {
     $assignment = new CRM_Activity_BAO_ActivityAssignment();
     $assignment->activity_id = $activityId;
     $assignment->delete();
 }
Exemplo n.º 2
0
 /**
  * Delete activity assignment record
  *
  * @param int    $id  activity id
  *
  * @return null
  * @access public
  */
 public function deleteActivityAssignment($activityId)
 {
     require_once 'CRM/Activity/BAO/ActivityAssignment.php';
     $assignment = new CRM_Activity_BAO_ActivityAssignment();
     $assignment->activity_id = $activityId;
     $assignment->delete();
 }