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
/
Pledge
/
Page
/
Tab.php
diff --git
a/CRM/Pledge/Page/Tab.php
b/CRM/Pledge/Page/Tab.php
index 5b485730194eb226867d28609058e76fb39ec77c..ca0e360704c742b66416c9936d8441d83146830c 100644
(file)
--- a/
CRM/Pledge/Page/Tab.php
+++ b/
CRM/Pledge/Page/Tab.php
@@
-136,7
+136,7
@@
class CRM_Pledge_Page_Tab extends CRM_Core_Page {
$this->preProcess();
// check if we can process credit card registration
-
CRM_Core_Payment::allowBackofficeCreditCard($this
);
+
$this->assign('newCredit', CRM_Core_Config::isEnabledBackOfficeCreditCardPayments()
);
$this->setContext();