CRM-15934: more host patterns
[civicrm-core.git] / extern / ipn.php
index 2deb8218c1cff9a94a606d6e37457557376b4837..6a633307f2e638a2e98c7c8c034f97eace239574 100644 (file)
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  * @package CRM
@@ -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";
 }
-