Code Duplication    Length = 3-3 lines in 2 locations

typo3/sysext/core/Classes/Database/ReferenceIndex.php 1 location

@@ 848-850 (lines=3) @@
845
     */
846
    public function getRelations_procFiles($value, $conf, $uid)
847
    {
848
        if ($conf['type'] !== 'group' || ($conf['internal_type'] !== 'file' && $conf['internal_type'] !== 'file_reference')) {
849
            return false;
850
        }
851
852
        // Collect file values in array:
853
        if ($conf['MM']) {

typo3/sysext/core/Classes/DataHandling/DataHandler.php 1 location

@@ 4083-4085 (lines=3) @@
4080
    public function copyRecord_procFilesRefs($conf, $uid, $value)
4081
    {
4082
        // Prepend absolute paths to files:
4083
        if ($conf['type'] !== 'group' || ($conf['internal_type'] !== 'file' && $conf['internal_type'] !== 'file_reference')) {
4084
            return $value;
4085
        }
4086
4087
        // Get an array with files as values:
4088
        if ($conf['MM']) {