From 86c5660095bffedf6ca15a3b2bbaf863b09104d6 Mon Sep 17 00:00:00 2001 From: Franz Holzinger <noreply@example.com> Date: Wed, 8 Feb 2023 21:14:25 +0000 Subject: [PATCH] [TASK] Add namespace for ApplicationType in ChangeLog use TYPO3\CMS\Core\Http\ApplicationType; Releases: main, 11.5 Resolves: #99888 Change-Id: Ifd2e9bcb46fb08efba5579e2b2ed45605f31157d Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77800 Tested-by: Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: core-ci <typo3@b13.com> --- ...n-92947-DeprecateTYPO3_MODEAndTYPO3_REQUESTTYPEConstants.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/typo3/sysext/core/Documentation/Changelog/11.0/Deprecation-92947-DeprecateTYPO3_MODEAndTYPO3_REQUESTTYPEConstants.rst b/typo3/sysext/core/Documentation/Changelog/11.0/Deprecation-92947-DeprecateTYPO3_MODEAndTYPO3_REQUESTTYPEConstants.rst index 54fb507d2d2e..7732e4fac0a9 100644 --- a/typo3/sysext/core/Documentation/Changelog/11.0/Deprecation-92947-DeprecateTYPO3_MODEAndTYPO3_REQUESTTYPEConstants.rst +++ b/typo3/sysext/core/Documentation/Changelog/11.0/Deprecation-92947-DeprecateTYPO3_MODEAndTYPO3_REQUESTTYPEConstants.rst @@ -155,6 +155,8 @@ Before:: After:: + use TYPO3\CMS\Core\Http\ApplicationType; + ... if (ApplicationType::fromRequest($request)->isFrontend()) { ... } -- GitLab