Skip to content

Commit

Permalink
[TASK] Remove pre-v10 edge case handling
Browse files Browse the repository at this point in the history
  • Loading branch information
NamelessCoder committed Jan 23, 2025
1 parent a4232e3 commit c1b468a
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Configuration/TCA/content_types.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

$data = [
return [
'ctrl' => [
'title' => 'LLL:EXT:flux/Resources/Private/Language/locallang.xlf:content_types',
'descriptionColumn' => 'description',
Expand All @@ -25,9 +25,6 @@
'iconfile' => 'EXT:flux/Resources/Public/Icons/Plugin.png',
'searchFields' => 'uid,title',
],
'interface' => [
'showRecordFieldList' => 'cruser_id,pid,hidden,starttime,endtime,fe_group,title,content_type,content_configuration,grid,template_file,template_source'
],
'columns' => [
'hidden' => [
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.hidden',
Expand Down Expand Up @@ -178,9 +175,3 @@
],
'palettes' => []
];

if (!defined('TYPO3_version') || version_compare(TYPO3_version, '10.3', '>=')) {
unset($data['interface']['showRecordFieldList']);
}

return $data;

0 comments on commit c1b468a

Please sign in to comment.