From: Matthew Wire (MJW Consulting) Date: Tue, 15 Jan 2019 10:48:11 +0000 (+0000) Subject: Remove duplicate call to session singleton X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1aca70980f6270120484fcf3f8cd4c9979e8c7e1;p=civicrm-core.git Remove duplicate call to session singleton --- diff --git a/CRM/Case/Form/CustomData.php b/CRM/Case/Form/CustomData.php index 6f9065f856..d5e2285b8f 100644 --- a/CRM/Case/Form/CustomData.php +++ b/CRM/Case/Form/CustomData.php @@ -129,7 +129,6 @@ class CRM_Case_Form_CustomData extends CRM_Core_Form { $session = CRM_Core_Session::singleton(); $session->pushUserContext(CRM_Utils_System::url('civicrm/contact/view/case', "reset=1&id={$this->_entityID}&cid={$this->_contactID}&action=view")); - $session = CRM_Core_Session::singleton(); $activityTypeID = CRM_Core_PseudoConstant::getKey('CRM_Activity_BAO_Activity', 'activity_type_id', 'Change Custom Data'); $activityParams = array( 'activity_type_id' => $activityTypeID,