X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=extern%2Fipn.php;h=619c688a4695349a810b81d5042ff38cd70fe906;hb=cf28610f8f8a82ce3cbae5e1ab7fee1856e355b9;hp=2deb8218c1cff9a94a606d6e37457557376b4837;hpb=1761553f7e28866ef0c0a9f54abbb222487cea5c;p=civicrm-core.git diff --git a/extern/ipn.php b/extern/ipn.php index 2deb8218c1..619c688a46 100644 --- a/extern/ipn.php +++ b/extern/ipn.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2014 | + | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -23,11 +23,11 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ /** * @package CRM - * @copyright CiviCRM LLC (c) 2004-2014 + * @copyright CiviCRM LLC (c) 2004-2015 * $Id$ */ @@ -48,14 +48,13 @@ else { $paypalIPN = new CRM_Core_Payment_PayPalIPN(); // @todo upgrade standard per Pro } -try{ +try { $paypalIPN->main(); } -catch(CRM_Core_Exception $e) { +catch (CRM_Core_Exception $e) { CRM_Core_Error::debug_log_message($e->getMessage()); CRM_Core_Error::debug_var('error data', $e->getErrorData(), TRUE, TRUE); CRM_Core_Error::debug_var('REQUEST', $_REQUEST, TRUE, TRUE); //@todo give better info to logged in user - ie dev echo "The transaction has failed. Please review the log for more detail"; } -