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
/
Contribute
/
Page
/
Tab.php
diff --git
a/CRM/Contribute/Page/Tab.php
b/CRM/Contribute/Page/Tab.php
index bac070363ac614b8db955f7d30f930bd0c3596b5..b6093725a989a7475249e98010b916f92c2401c8 100644
(file)
--- a/
CRM/Contribute/Page/Tab.php
+++ b/
CRM/Contribute/Page/Tab.php
@@
-283,7
+283,7
@@
class CRM_Contribute_Page_Tab extends CRM_Core_Page {
$this->preProcess();
// check if we can process credit card contribs
-
CRM_Core_Payment::allowBackofficeCreditCard($this
);
+
$this->assign('newCredit', CRM_Core_Config::isEnabledBackOfficeCreditCardPayments()
);
$this->setContext();