From: kurund Date: Wed, 4 Dec 2013 15:13:13 +0000 (+0530) Subject: remove redundant usercontext, which messes activity form, CRM-13896 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4fe145bc8d305895724840eff3a0b15510c0a703;p=civicrm-core.git remove redundant usercontext, which messes activity form, CRM-13896 ---------------------------------------- * CRM-13896: http://issues.civicrm.org/jira/browse/CRM-13896 --- 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