replaced old debug-log call with current one.
This commit is contained in:
parent
518f8809c7
commit
bd6c60c539
5 changed files with 4 additions and 5 deletions
|
@ -274,7 +274,7 @@ class CRM_Twingle_Upgrader_Base {
|
||||||
$setting = new CRM_Core_BAO_Setting();
|
$setting = new CRM_Core_BAO_Setting();
|
||||||
$setting->name = $this->extensionName . ':version';
|
$setting->name = $this->extensionName . ':version';
|
||||||
$setting->delete();
|
$setting->delete();
|
||||||
CRM_Core_Error::debug_log_message("Migrated extension schema revision ID for {$this->extensionName} from civicrm_setting (deprecated) to civicrm_extension.\n");
|
Civi::log()->debug("Migrated extension schema revision ID for {$this->extensionName} from civicrm_setting (deprecated) to civicrm_extension.\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ function _civicrm_api3_twingle_donation_Cancel_spec(&$params) {
|
||||||
function civicrm_api3_twingle_donation_Cancel($params) {
|
function civicrm_api3_twingle_donation_Cancel($params) {
|
||||||
// Log call if debugging is enabled within civicrm.settings.php.
|
// Log call if debugging is enabled within civicrm.settings.php.
|
||||||
if (defined('TWINGLE_API_LOGGING') && TWINGLE_API_LOGGING) {
|
if (defined('TWINGLE_API_LOGGING') && TWINGLE_API_LOGGING) {
|
||||||
CRM_Core_Error::debug_log_message('TwingleDonation.Cancel: ' . json_encode($params, JSON_PRETTY_PRINT));
|
Civi::log()->debug('TwingleDonation.Cancel: ' . json_encode($params, JSON_PRETTY_PRINT));
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -60,7 +60,7 @@ function _civicrm_api3_twingle_donation_endrecurring_spec(&$params) {
|
||||||
function civicrm_api3_twingle_donation_endrecurring($params) {
|
function civicrm_api3_twingle_donation_endrecurring($params) {
|
||||||
// Log call if debugging is enabled within civicrm.settings.php.
|
// Log call if debugging is enabled within civicrm.settings.php.
|
||||||
if (defined('TWINGLE_API_LOGGING') && TWINGLE_API_LOGGING) {
|
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 {
|
try {
|
||||||
|
|
|
@ -265,7 +265,7 @@ function _civicrm_api3_twingle_donation_Submit_spec(&$params) {
|
||||||
function civicrm_api3_twingle_donation_Submit($params) {
|
function civicrm_api3_twingle_donation_Submit($params) {
|
||||||
// Log call if debugging is enabled within civicrm.settings.php.
|
// Log call if debugging is enabled within civicrm.settings.php.
|
||||||
if (defined('TWINGLE_API_LOGGING') && TWINGLE_API_LOGGING) {
|
if (defined('TWINGLE_API_LOGGING') && TWINGLE_API_LOGGING) {
|
||||||
CRM_Core_Error::debug_log_message('TwingleDonation.Submit: ' . json_encode($params, JSON_PRETTY_PRINT));
|
Civi::log()->debug('TwingleDonation.Submit: ' . json_encode($params, JSON_PRETTY_PRINT));
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
1
info.xml
1
info.xml
|
@ -18,7 +18,6 @@
|
||||||
<version>1.4-dev</version>
|
<version>1.4-dev</version>
|
||||||
<develStage>dev</develStage>
|
<develStage>dev</develStage>
|
||||||
<compatibility>
|
<compatibility>
|
||||||
<ver>5.0</ver>
|
|
||||||
<ver>5.19</ver>
|
<ver>5.19</ver>
|
||||||
</compatibility>
|
</compatibility>
|
||||||
<comments></comments>
|
<comments></comments>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue