replaced old debug-log call with current one.

This commit is contained in:
B. Endres 2023-05-15 12:03:32 +02:00
parent 518f8809c7
commit bd6c60c539
5 changed files with 4 additions and 5 deletions

View file

@ -60,7 +60,7 @@ function _civicrm_api3_twingle_donation_endrecurring_spec(&$params) {
function civicrm_api3_twingle_donation_endrecurring($params) {
// Log call if debugging is enabled within civicrm.settings.php.
if (defined('TWINGLE_API_LOGGING') && TWINGLE_API_LOGGING) {
CRM_Core_Error::debug_log_message('TwingleDonation.Endrecurring: ' . json_encode($params, JSON_PRETTY_PRINT));
Civi::log()->debug('TwingleDonation.Endrecurring: ' . json_encode($params, JSON_PRETTY_PRINT));
}
try {