From 00bfb183f5c94fbfee5aaf9e49ed0769a81dfe90 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 17 Feb 2014 22:00:59 -0800 Subject: [PATCH] CRM-13929 Cleanup activity form --- CRM/Activity/Form/Activity.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/CRM/Activity/Form/Activity.php b/CRM/Activity/Form/Activity.php index 1205b53c64..306548db6c 100644 --- a/CRM/Activity/Form/Activity.php +++ b/CRM/Activity/Form/Activity.php @@ -704,19 +704,6 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task { //add followup date $this->addDateTime('followup_date', ts('in'), FALSE, array('formatType' => 'activityDateTime')); - //tokeninput url - $tokenUrl = CRM_Utils_System::url("civicrm/ajax/checkemail", - "noemail=1", - FALSE, NULL, FALSE - ); - $this->assign('tokenUrl', $tokenUrl); - - $sourceContactField = $this->addEntityRef( - 'source_contact_id', - $this->_fields['source_contact_id']['label'], - array(), - TRUE - ); // Only admins and case-workers can change the activity source if (!CRM_Core_Permission::check('administer CiviCRM') && $this->_context != 'caseActivity') { $this->getElement('source_contact_id')->freeze(); -- 2.25.1