Merge remote-tracking branch 'origin/issue/65'
[#65] Replace calls to deprecated method `CRM_Core_Error::debug_log_message()`
This commit is contained in:
commit
8daddce005
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->name = $this->extensionName . ':version';
|
||||
$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) {
|
||||
// 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.Cancel: ' . json_encode($params, JSON_PRETTY_PRINT));
|
||||
Civi::log()->debug('TwingleDonation.Cancel: ' . json_encode($params, JSON_PRETTY_PRINT));
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -265,7 +265,7 @@ function _civicrm_api3_twingle_donation_Submit_spec(&$params) {
|
|||
function civicrm_api3_twingle_donation_Submit($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.Submit: ' . json_encode($params, JSON_PRETTY_PRINT));
|
||||
Civi::log()->debug('TwingleDonation.Submit: ' . json_encode($params, JSON_PRETTY_PRINT));
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
1
info.xml
1
info.xml
|
@ -18,7 +18,6 @@
|
|||
<version>1.4-dev</version>
|
||||
<develStage>dev</develStage>
|
||||
<compatibility>
|
||||
<ver>5.0</ver>
|
||||
<ver>5.19</ver>
|
||||
</compatibility>
|
||||
<comments></comments>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue