[TASK] Remove unused property in PageRepository
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / Classes / Page / FramesetRenderer.php
index 31ce63b..3e57103 100644 (file)
@@ -14,11 +14,13 @@ namespace TYPO3\CMS\Frontend\Page;
  * The TYPO3 project - inspiring people to share!
  */
 
-use TYPO3\CMS\Core\TypoScript\TemplateService;
+use TYPO3\CMS\Core\Utility\ArrayUtility;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
 
 /**
  * Rendering of framesets
+ *
+ * @deprecated since TYPO3 v8, will be removed in TYPO3 v9
  */
 class FramesetRenderer
 {
@@ -33,7 +35,7 @@ class FramesetRenderer
     {
         $content = '';
         if (is_array($setup)) {
-            $sKeyArray = TemplateService::sortedKeyList($setup);
+            $sKeyArray = ArrayUtility::filterAndSortByNumericKeys($setup);
             foreach ($sKeyArray as $theKey) {
                 $theValue = $setup[$theKey];
                 if ((int)$theKey && ($conf = $setup[$theKey . '.'])) {