Code Duplication    Length = 3-7 lines in 2 locations

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

@@ 7086-7088 (lines=3) @@
7083
                    $this->updateRefIndex($table, $id);
7084
                    // Set History data
7085
                    $historyEntryId = 0;
7086
                    if (isset($this->historyRecords[$table . ':' . $id])) {
7087
                        $historyEntryId = $this->getRecordHistoryStore()->modifyRecord($table, $id, $this->historyRecords[$table . ':' . $id]);
7088
                    }
7089
                    if ($this->enableLogging) {
7090
                        if ($this->checkStoredRecords) {
7091
                            $newRow = $this->checkStoredRecord($table, $id, $fieldArray, 2);
@@ 7297-7303 (lines=7) @@
7294
     */
7295
    public function setHistory($table, $id, $logId)
7296
    {
7297
        if (isset($this->historyRecords[$table . ':' . $id])) {
7298
            $this->getRecordHistoryStore()->modifyRecord(
7299
                $table,
7300
                $id,
7301
                $this->historyRecords[$table . ':' . $id]
7302
            );
7303
        }
7304
    }
7305
7306
    /**