From: eileenmcnaugton Date: Sun, 16 Aug 2015 02:59:02 +0000 (+1200) Subject: add comment X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0271af37fbbe0d32f7c50c8ed821b14e315cf682;p=civicrm-core.git add comment --- diff --git a/CRM/Member/Form.php b/CRM/Member/Form.php index 7a4f9e2ae8..0cae51203a 100644 --- a/CRM/Member/Form.php +++ b/CRM/Member/Form.php @@ -275,6 +275,13 @@ class CRM_Member_Form extends CRM_Contribute_Form_AbstractEditPayment { } } + /** + * Set variables in a way that can be accessed from different places. + * + * This is part of refactoring for unit testability on the submit function. + * + * @param array $params + */ protected function setContextVariables($params) { $variables = array( 'action' => '_action',