From 22d9dc695ae049b463bacb03c7942296d646debc Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 24 Aug 2023 16:57:20 -0700 Subject: [PATCH] (NFC) Comments for the third(!) invocation of hook_civicrm_config --- CRM/Utils/System/Backdrop.php | 1 + CRM/Utils/System/Drupal.php | 1 + 2 files changed, 2 insertions(+) diff --git a/CRM/Utils/System/Backdrop.php b/CRM/Utils/System/Backdrop.php index 98b6a601bc..2fd767141f 100644 --- a/CRM/Utils/System/Backdrop.php +++ b/CRM/Utils/System/Backdrop.php @@ -642,6 +642,7 @@ AND u.status = 1 // CRM-8655: Backdrop wasn't available during bootstrap, so // hook_civicrm_config() never executes. + // FIXME: This call looks redundant with the earlier call in the same function. Consider removing it. CRM_Utils_Hook::config($config); return FALSE; diff --git a/CRM/Utils/System/Drupal.php b/CRM/Utils/System/Drupal.php index 756b78ec29..832f2da52b 100644 --- a/CRM/Utils/System/Drupal.php +++ b/CRM/Utils/System/Drupal.php @@ -556,6 +556,7 @@ AND u.status = 1 $config->cleanURL = (int) variable_get('clean_url', '0'); // CRM-8655: Drupal wasn't available during bootstrap, so hook_civicrm_config never executes + // FIXME: This call looks redundant with the earlier call in the same function. Consider removing it. CRM_Utils_Hook::config($config); return FALSE; -- 2.25.1