From 1aca70980f6270120484fcf3f8cd4c9979e8c7e1 Mon Sep 17 00:00:00 2001 From: "Matthew Wire (MJW Consulting)" Date: Tue, 15 Jan 2019 10:48:11 +0000 Subject: [PATCH] Remove duplicate call to session singleton --- CRM/Case/Form/CustomData.php | 1 - 1 file changed, 1 deletion(-) 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, -- 2.25.1