Commit b6ae89c9 authored by Mona Muzaffar's avatar Mona Muzaffar Committed by Christian Kuhn
Browse files

[CLEANUP] Remove unused IconRegistry instance

Resolves: #81421
Releases: master
Change-Id: I7639eb080cd40397d1199b29a9c7abb160915767
Reviewed-on: https://review.typo3.org/53038


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent d9094a11
......@@ -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.'])
) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment