From b5b3d5d7598169317caf1998cf83cfd5790e20c5 Mon Sep 17 00:00:00 2001 From: Mathieu Lu <mathieu@symbiotic.coop> Date: Sun, 10 Sep 2023 11:07:06 -0400 Subject: [PATCH] VersionCheck: replace hash by sid --- CRM/Utils/VersionCheck.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CRM/Utils/VersionCheck.php b/CRM/Utils/VersionCheck.php index 9d0781a7a4..80491b7c28 100644 --- a/CRM/Utils/VersionCheck.php +++ b/CRM/Utils/VersionCheck.php @@ -139,8 +139,11 @@ class CRM_Utils_VersionCheck { // Non-alpha versions get the full treatment if ($this->localVersion && !strpos($this->localVersion, 'alpha')) { $this->stats += [ + // Remove the hash after 2024-09-01 to allow the transition to sid 'hash' => md5($siteKey . $config->userFrameworkBaseURL), + 'sid' => Civi::settings()->get('site_id'), 'uf' => $config->userFramework, + 'environment' => CRM_Core_Config::environment(), 'lang' => $config->lcMessages, 'co' => $config->defaultContactCountry, 'ufv' => $config->userSystem->getVersion(), -- 2.25.1