CRM-13929 Cleanup activity form
authorColeman Watts <coleman@civicrm.org>
Tue, 18 Feb 2014 06:00:59 +0000 (22:00 -0800)
committerColeman Watts <coleman@civicrm.org>
Tue, 18 Feb 2014 06:09:12 +0000 (22:09 -0800)
CRM/Activity/Form/Activity.php

index 1205b53c64fe07c416ee6aa263eb5243693a00a9..306548db6c4e8877d74164e6e598d3a8cb0acc67 100644 (file)
@@ -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();