Skip to content

Commit

Permalink
Remove filling of logged in user as this is the api default behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed Feb 1, 2021
1 parent a4b1d26 commit 38c521b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CRM/Activity/Import/Parser/Activity.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,6 @@ public function import($onDuplicate, &$values) {
// For date-Formats.
$session = CRM_Core_Session::singleton();
$dateType = $session->get('dateTypes');
if (!isset($params['source_contact_id'])) {
$params['source_contact_id'] = $session->get('userID');
}

$customFields = CRM_Core_BAO_CustomField::getFields('Activity');

Expand Down

0 comments on commit 38c521b

Please sign in to comment.