projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CRM-14684 refactor function that identifies is a site supports back-office contributions
[civicrm-core.git]
/
CRM
/
Member
/
Page
/
Tab.php
diff --git
a/CRM/Member/Page/Tab.php
b/CRM/Member/Page/Tab.php
index 2aad0d971cf983622c767b8f78fc7262dba252e7..d4eb65e215dc00dafbe00fcb44ab705e02437d00 100644
(file)
--- a/
CRM/Member/Page/Tab.php
+++ b/
CRM/Member/Page/Tab.php
@@
-321,7
+321,9
@@
class CRM_Member_Page_Tab extends CRM_Core_Page {
$this->preProcess();
// check if we can process credit card membership
$this->preProcess();
// check if we can process credit card membership
- $newCredit = CRM_Core_Payment::allowBackofficeCreditCard($this);
+ $newCredit = CRM_Core_Config::isEnabledBackOfficeCreditCardPayments();
+ $this->assign('newCredit', $newCredit);
+
if ($newCredit) {
$this->_isPaymentProcessor = TRUE;
}
if ($newCredit) {
$this->_isPaymentProcessor = TRUE;
}