Remove navigation reset
authormflandorfer <23025720+mflandorfer@users.noreply.github.com>
Tue, 19 Dec 2023 09:37:08 +0000 (10:37 +0100)
committerGitHub <noreply@github.com>
Tue, 19 Dec 2023 09:37:08 +0000 (10:37 +0100)
Co-authored-by: Rich Lott <artfulrobot@users.noreply.github.com>
CRM/Core/BAO/ConfigSetting.php

index 4ce934ae2d1666a4c7885567e93bb8528c2acd8f..f26cc34c4ada679de6159aead3f33a8bbcaf8bb9 100644 (file)
@@ -216,9 +216,6 @@ class CRM_Core_BAO_ConfigSetting {
       // and it's valid against our configured locales, we require the session
       // to store this, even if that means starting an anonymous session.
       $session->set('lcMessages', $chosenLocale);
-
-      // Clear menu cache if we've changed locale.
-      CRM_Core_BAO_Navigation::resetNavigation();
     }
 
     /*