[CLEANUP] Remove unused IconRegistry instance 38/53038/2
authorMona Muzaffar <mona.muzaffar@gmx.de>
Fri, 2 Jun 2017 13:08:36 +0000 (15:08 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 2 Jun 2017 13:24:59 +0000 (15:24 +0200)
Resolves: #81421
Releases: master
Change-Id: I7639eb080cd40397d1199b29a9c7abb160915767
Reviewed-on: https://review.typo3.org/53038
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/FormDataProvider/AbstractItemProvider.php

index 80517d2..7c0453d 100644 (file)
@@ -119,7 +119,6 @@ abstract class AbstractItemProvider
     protected function addItemsFromPageTsConfig(array $result, $fieldName, array $items)
     {
         $table = $result['tableName'];
-        $iconRegistry = GeneralUtility::makeInstance(IconRegistry::class);
         if (!empty($result['pageTsConfig']['TCEFORM.'][$table . '.'][$fieldName . '.']['addItems.'])
             && is_array($result['pageTsConfig']['TCEFORM.'][$table . '.'][$fieldName . '.']['addItems.'])
         ) {