[BUGFIX] Typo3Status Report checks for Compatibility6 96/52096/2
authorThomas Hohn <thomas@hohn.dk>
Mon, 20 Mar 2017 05:40:30 +0000 (06:40 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 20 Mar 2017 09:57:10 +0000 (10:57 +0100)
Check for EXT:Compatibility7 instead of EXT:Compatibility6
in the Typo3Status Report.

Resolves: #80348
Releases: master
Change-Id: Iec4b7faa5eacd6007d0871278eeb23aa8e2b8448
Reviewed-on: https://review.typo3.org/52096
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/reports/Classes/Report/Status/Typo3Status.php
typo3/sysext/reports/Resources/Private/Language/locallang_reports.xlf

index 61d3eb2..5342535 100644 (file)
@@ -33,7 +33,7 @@ class Typo3Status implements StatusProviderInterface
     {
         $statuses = [
             'registeredXclass' => $this->getRegisteredXclassStatus(),
-            'compatibility6' => $this->getCompatibility6Status(),
+            'compatibility7' => $this->getCompatibility7Status(),
         ];
         return $statuses;
     }
@@ -83,25 +83,25 @@ class Typo3Status implements StatusProviderInterface
     }
 
     /**
-     * Check for usage of EXT:compatibility6
+     * Check for usage of EXT:compatibility7
      *
      * @return \TYPO3\CMS\Reports\Status
      */
-    protected function getCompatibility6Status()
+    protected function getCompatibility7Status()
     {
         $message = '';
         $value = $this->getLanguageService()->getLL('status_disabled');
         $severity = ReportStatus::OK;
 
-        if (ExtensionManagementUtility::isLoaded('compatibility6')) {
+        if (ExtensionManagementUtility::isLoaded('compatibility7')) {
             $value = $this->getLanguageService()->getLL('status_enabled');
-            $message = $this->getLanguageService()->getLL('status_compatibility6Usage_message');
+            $message = $this->getLanguageService()->getLL('status_compatibility7Usage_message');
             $severity = ReportStatus::WARNING;
         }
 
         return GeneralUtility::makeInstance(
             ReportStatus::class,
-            $this->getLanguageService()->getLL('status_compatibility6Usage'),
+            $this->getLanguageService()->getLL('status_compatibility7Usage'),
             $value,
             $message,
             $severity
index c219dea..f72fb0b 100644 (file)
@@ -306,11 +306,11 @@ You can increase the size to 8MB (default on unix) by adding to the httpd.conf:
                        <trans-unit id="status_xclassUsageFound_message_detail">
                                <source>%2$s registers an XCLASS of %1$s</source>
                        </trans-unit>
-                       <trans-unit id="status_compatibility6Usage">
-                               <source>Extension compatibility6</source>
+                       <trans-unit id="status_compatibility7Usage">
+                               <source>Extension compatibility7</source>
                        </trans-unit>
-                       <trans-unit id="status_compatibility6Usage_message">
-                               <source>Extension compatibility6 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 id="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>