Commit 6c8d1617 authored by Eileen McNaughton's avatar Eileen McNaughton

CRM-14494 use preferred logger syntax

parent 414e3596
......@@ -36,7 +36,7 @@ session_start();
require_once '../civicrm.config.php';
$config = CRM_Core_Config::singleton();
$log = new CRM_Utils_SystemLogger();
$log->log('alert', 'payment_notification processor_name=AuthNet', $_REQUEST);
$log->alert('payment_notification processor_name=AuthNet', $_REQUEST);
$authorizeNetIPN = new CRM_Core_Payment_AuthorizeNetIPN();
$authorizeNetIPN->main();
......@@ -37,7 +37,7 @@ require_once '../civicrm.config.php';
$config = CRM_Core_Config::singleton();
$log = new CRM_Utils_SystemLogger();
$log->log('alert', 'payment_notification processor_name=Google_Checkout', $_REQUEST);
$log->alert('payment_notification processor_name=Google_Checkout', $_REQUEST);
$rawPostData = file_get_contents('php://input');
CRM_Core_Payment_GoogleIPN::main($rawPostData);
......@@ -40,11 +40,11 @@ require_once '../civicrm.config.php';
$config = CRM_Core_Config::singleton();
$log = new CRM_Utils_SystemLogger();
if (empty($_GET)) {
$log->log('alert', 'payment_notification processor_name=PayPal', $_REQUEST);
$log->alert('payment_notification processor_name=PayPal', $_REQUEST);
$paypalIPN = new CRM_Core_Payment_PayPalProIPN($_REQUEST);
}
else {
$log->log('alert', 'payment_notification PayPal_Standard', $_REQUEST);
$log->alert('payment_notification PayPal_Standard', $_REQUEST);
$paypalIPN = new CRM_Core_Payment_PayPalIPN();
// @todo upgrade standard per Pro
}
......
......@@ -18,7 +18,7 @@ require_once 'CRM/Core/Config.php';
$config = CRM_Core_Config::singleton();
$log = new CRM_Utils_SystemLogger();
$log->log('alert', 'payment_notification processor_name=Payment_Express', $_REQUEST);
$log->alert('payment_notification processor_name=Payment_Express', $_REQUEST);
/*
* Get the password from the Payment Processor's table based on the DPS user id
* being passed back from the server
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment