function preProcess() {
if(!CRM_Core_Permission::check('administer payment processors')) {
- CRM_Core_Error::fatal('You do not have permission to administer payment processors');
+ CRM_Core_Error::fatal('The \'administer payment processors\' permission is required to add or edit a payment processor.');
}
parent::preProcess();
/**
* Function to build the form
*
+ * @param bool $check
+ *
* @return void
* @access public
*/
/**
* Save a payment processor
*
+ * @param $values
+ * @param $domainID
+ * @param $test
+ *
* @return Void
*/
function updatePaymentProcessor(&$values, $domainID, $test) {