[FOLLOWUP] Disable functionality to hide file storage 74/36474/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Fri, 30 Jan 2015 20:07:31 +0000 (21:07 +0100)
committerStefan Froemken <froemken@gmail.com>
Fri, 30 Jan 2015 20:31:02 +0000 (21:31 +0100)
Also remove an obsolete sql key and remaing TCA from the hidden column

Releases: master
Resolves: #59017
Change-Id: I0b4bfa0036eab6a69cb548bd5e21d0569b7dfbf7
Reviewed-on: http://review.typo3.org/36474
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
typo3/sysext/core/Configuration/TCA/sys_file_storage.php
typo3/sysext/core/ext_tables.sql

index 3f80810..40c6f83 100644 (file)
@@ -16,17 +16,9 @@ return array(
                'searchFields' => 'name,description'
        ),
        'interface' => array(
-               'showRecordFieldList' => 'hidden,name,description,driver,processingfolder,configuration'
+               'showRecordFieldList' => 'name,description,driver,processingfolder,configuration'
        ),
        'columns' => array(
-               'hidden' => array(
-                       'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_storage.hidden',
-                       'config' => array(
-                               'type' => 'check',
-                               'default' => '0'
-                       )
-               ),
                'name' => array(
                        'exclude' => 0,
                        'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_storage.name',
@@ -120,7 +112,7 @@ return array(
                )
        ),
        'types' => array(
-               '0' => array('showitem' => 'name, description, hidden, --div--;Configuration, driver, configuration, is_default, processingfolder, --div--;Access, --palette--;Capabilities;capabilities, is_online')
+               '0' => array('showitem' => 'name, description, --div--;Configuration, driver, configuration, is_default, processingfolder, --div--;Access, --palette--;Capabilities;capabilities, is_online')
        ),
        'palettes' => array(
                'capabilities' => array('showitem' => 'is_browsable, is_public, is_writable', 'canNotCollapse' => TRUE)
index 7bba997..d5538e7 100644 (file)
@@ -272,8 +272,7 @@ CREATE TABLE sys_file_storage (
        processingfolder tinytext,
 
        PRIMARY KEY (uid),
-       KEY parent (pid,deleted),
-       KEY deleted (deleted)
+       KEY parent (pid,deleted)
 );
 
 #