From 4fe145bc8d305895724840eff3a0b15510c0a703 Mon Sep 17 00:00:00 2001 From: kurund Date: Wed, 4 Dec 2013 20:43:13 +0530 Subject: [PATCH] remove redundant usercontext, which messes activity form, CRM-13896 ---------------------------------------- * CRM-13896: http://issues.civicrm.org/jira/browse/CRM-13896 --- CRM/Core/Invoke.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CRM/Core/Invoke.php b/CRM/Core/Invoke.php index 221504f210..a927b47770 100644 --- a/CRM/Core/Invoke.php +++ b/CRM/Core/Invoke.php @@ -414,10 +414,6 @@ class CRM_Core_Invoke { } if ($secondArg == 'edit' || $secondArg == 'create') { - // set the userContext stack - $session = CRM_Core_Session::singleton(); - $session->pushUserContext(CRM_Utils_System::url('civicrm/profile', 'reset=1')); - $buttonType = CRM_Utils_Array::value('_qf_Edit_cancel', $_POST); // CRM-5849: we should actually check the button *type*, but we get the *value*, potentially translated; // we should keep both English and translated checks just to make sure we also handle untranslated Cancels -- 2.25.1