Code Duplication    Length = 7-7 lines in 2 locations

typo3/sysext/core/Classes/DataHandling/DataHandler.php 2 locations

@@ 2330-2336 (lines=7) @@
2327
                    $dbAnalysis->writeMM($tcaFieldConf['MM'], $id, 0);
2328
                    $newFiles = implode(',', $dbAnalysis->getValueArray());
2329
                    list(, , $recFieldName) = explode(':', $recFID);
2330
                    if ($currentFilesForHistory != $newFiles) {
2331
                        $this->mmHistoryRecords[$table . ':' . $id]['oldRecord'][$recFieldName] = $currentFilesForHistory;
2332
                        $this->mmHistoryRecords[$table . ':' . $id]['newRecord'][$recFieldName] = $newFiles;
2333
                    } else {
2334
                        $this->mmHistoryRecords[$table . ':' . $id]['oldRecord'][$recFieldName] = '';
2335
                        $this->mmHistoryRecords[$table . ':' . $id]['newRecord'][$recFieldName] = '';
2336
                    }
2337
                } else {
2338
                    $this->dbAnalysisStore[] = [$dbAnalysis, $tcaFieldConf['MM'], $id, 0];
2339
                }
@@ 3021-3027 (lines=7) @@
3018
                $oldRelations_dbAnalysis->start('', $tables, $tcaFieldConf['MM'], $id, $currentTable, $tcaFieldConf);
3019
                $oldRelations = implode(',', $oldRelations_dbAnalysis->getValueArray());
3020
                $dbAnalysis->writeMM($tcaFieldConf['MM'], $id, $prep);
3021
                if ($oldRelations != $newRelations) {
3022
                    $this->mmHistoryRecords[$currentTable . ':' . $id]['oldRecord'][$currentField] = $oldRelations;
3023
                    $this->mmHistoryRecords[$currentTable . ':' . $id]['newRecord'][$currentField] = $newRelations;
3024
                } else {
3025
                    $this->mmHistoryRecords[$currentTable . ':' . $id]['oldRecord'][$currentField] = '';
3026
                    $this->mmHistoryRecords[$currentTable . ':' . $id]['newRecord'][$currentField] = '';
3027
                }
3028
            } else {
3029
                $this->dbAnalysisStore[] = [$dbAnalysis, $tcaFieldConf['MM'], $id, $prep, $currentTable];
3030
            }