<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* $Id: PaymentProcessor.php 9702 2007-05-29 23:57:16Z lobo $
*
*/
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) {