From d3e492e2b3ecee3667f6bf72c9681b501803d17b Mon Sep 17 00:00:00 2001
From: Oliver Klee <typo3-coding@oliverklee.de>
Date: Sun, 17 Mar 2024 10:26:02 +0100
Subject: [PATCH] [TASK] Fix cache name in comments

In #88366, the caches have been renamed, e.g., from `cache_core`
to `core`. Some occurrences of the old names in comments were missed at
that time. This commit streamlines those occurrences to also use
the new names.

Resolves: #103409
Related: #88366
Releases: main, 12.4, 11.5
Change-Id: I69039160b3d3cc5da00d4f3d3e57fce755d22a63
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83498
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
---
 typo3/sysext/core/Classes/Configuration/SiteConfiguration.php | 2 +-
 typo3/sysext/core/Configuration/DefaultConfiguration.php      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/typo3/sysext/core/Classes/Configuration/SiteConfiguration.php b/typo3/sysext/core/Classes/Configuration/SiteConfiguration.php
index 86a0eb158bcf..fc3f084ad31d 100644
--- a/typo3/sysext/core/Classes/Configuration/SiteConfiguration.php
+++ b/typo3/sysext/core/Classes/Configuration/SiteConfiguration.php
@@ -67,7 +67,7 @@ class SiteConfiguration implements SingletonInterface
     protected string $contentSecurityFileName = 'csp.yaml';
 
     /**
-     * Identifier to store all configuration data in cache_core cache.
+     * Identifier to store all configuration data in the core cache.
      *
      * @internal
      */
diff --git a/typo3/sysext/core/Configuration/DefaultConfiguration.php b/typo3/sysext/core/Configuration/DefaultConfiguration.php
index bc66c8b027fd..a08de90b3206 100644
--- a/typo3/sysext/core/Configuration/DefaultConfiguration.php
+++ b/typo3/sysext/core/Configuration/DefaultConfiguration.php
@@ -164,7 +164,7 @@ return [
         ],
         'caching' => [
             'cacheConfigurations' => [
-                // The cache_core cache is is for core php code only and must
+                // The core cache is is for core php code only and must
                 // not be abused by third party extensions.
                 'core' => [
                     'frontend' => \TYPO3\CMS\Core\Cache\Frontend\PhpFrontend::class,
-- 
GitLab