Skip to content

Commit

Permalink
We can modify contribution amounts via hooks/cividiscount etc. So we …
Browse files Browse the repository at this point in the history
…should not be checking for a fixed membership fee from the database
  • Loading branch information
mattwire committed Dec 2, 2017
1 parent 13920c8 commit a3ea2e2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions CRM/Contribute/Form/ContributionBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -569,12 +569,6 @@ public function assignToTemplate() {
if ($this->_amount > 0.0) {
$isMonetary = TRUE;
}
elseif (!empty($this->_params['selectMembership'])) {
$memFee = CRM_Core_DAO::getFieldValue('CRM_Member_DAO_MembershipType', $this->_params['selectMembership'], 'minimum_fee');
if ($memFee > 0.0) {
$isMonetary = TRUE;
}
}

// The concept of contributeMode is deprecated.
// The payment processor object can provide info about the fields it shows.
Expand Down

0 comments on commit a3ea2e2

Please sign in to comment.