[TASK] Remove report for ext:compatibility7 74/62674/3
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Mon, 16 Dec 2019 12:27:20 +0000 (13:27 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 27 Dec 2019 12:22:48 +0000 (13:22 +0100)
The extension does not exist for TYPO3 versions above 8, so the report
must not exist either in these versions.

Resolves: #89963
Releases: master, 9.5
Change-Id: I0de6b2646253a755b554b48dadabbfcb2bc1b795
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62674
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Jan Stockfisch <typo3@jan-stockfisch.de>
Tested-by: Guido Schmechel <guido.schmechel@brandung.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Jan Stockfisch <typo3@jan-stockfisch.de>
Reviewed-by: Guido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/reports/Classes/Report/Status/Typo3Status.php
typo3/sysext/reports/Resources/Private/Language/locallang_reports.xlf

index 2b239ff..5d9709b 100644 (file)
@@ -14,7 +14,6 @@ namespace TYPO3\CMS\Reports\Report\Status;
  * The TYPO3 project - inspiring people to share!
  */
 use TYPO3\CMS\Core\Localization\LanguageService;
-use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
 use TYPO3\CMS\Reports\Status as ReportStatus;
 use TYPO3\CMS\Reports\StatusProviderInterface;
@@ -33,7 +32,6 @@ class Typo3Status implements StatusProviderInterface
     {
         $statuses = [
             'registeredXclass' => $this->getRegisteredXclassStatus(),
-            'compatibility7' => $this->getCompatibility7Status(),
         ];
         return $statuses;
     }
@@ -83,32 +81,6 @@ class Typo3Status implements StatusProviderInterface
     }
 
     /**
-     * Check for usage of EXT:compatibility7
-     *
-     * @return \TYPO3\CMS\Reports\Status
-     */
-    protected function getCompatibility7Status()
-    {
-        $message = '';
-        $value = $this->getLanguageService()->getLL('status_disabled');
-        $severity = ReportStatus::OK;
-
-        if (ExtensionManagementUtility::isLoaded('compatibility7')) {
-            $value = $this->getLanguageService()->getLL('status_enabled');
-            $message = $this->getLanguageService()->getLL('status_compatibility7Usage_message');
-            $severity = ReportStatus::WARNING;
-        }
-
-        return GeneralUtility::makeInstance(
-            ReportStatus::class,
-            $this->getLanguageService()->getLL('status_compatibility7Usage'),
-            $value,
-            $message,
-            $severity
-        );
-    }
-
-    /**
      * @return LanguageService
      */
     protected function getLanguageService()
index 797056b..bd5813e 100644 (file)
@@ -291,12 +291,6 @@ You can increase the size to 8MB (default on unix) by adding to the httpd.conf:
                        <trans-unit id="status_xclassUsageFound_message_detail" resname="status_xclassUsageFound_message_detail">
                                <source>%2$s registers an XCLASS of %1$s</source>
                        </trans-unit>
-                       <trans-unit id="status_compatibility7Usage" resname="status_compatibility7Usage">
-                               <source>Extension compatibility7</source>
-                       </trans-unit>
-                       <trans-unit id="status_compatibility7Usage_message" resname="status_compatibility7Usage_message">
-                               <source>Extension compatibility7 is loaded. You should check that every third-party extension is natively compatible with this version of TYPO3 and then unload this compatibility extension. As long as this compatibility extension is loaded, you will suffer performance drawbacks</source>
-                       </trans-unit>
                </body>
        </file>
 </xliff>