From 95d72a5fb72f286d7e2953e0cde384b478b15c83 Mon Sep 17 00:00:00 2001 From: eileenmcnaughton Date: Thu, 21 Jan 2016 02:04:37 +0000 Subject: [PATCH] CRM-17850 cleanup based on feedback --- CRM/Contribute/Form/UpdateSubscription.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CRM/Contribute/Form/UpdateSubscription.php b/CRM/Contribute/Form/UpdateSubscription.php index c081d1b640..91cbd86779 100644 --- a/CRM/Contribute/Form/UpdateSubscription.php +++ b/CRM/Contribute/Form/UpdateSubscription.php @@ -130,10 +130,7 @@ class CRM_Contribute_Form_UpdateSubscription extends CRM_Core_Form { $alreadyHardCodedFields = array('amount', 'installments'); foreach ($this->editableScheduleFields as $editableScheduleField) { if (!in_array($editableScheduleField, $alreadyHardCodedFields)) { - $this->addField($editableScheduleField, array( - 'entity' => 'ContributionRecur', - 'context' => $this->getDefaultContext(), - )); + $this->addField($editableScheduleField, array('entity' => 'ContributionRecur')); } } -- 2.25.1