Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 4516-4519 (lines=4) @@
4513
                if ($origDestPid < 0) {
4514
                    $this->fixCopyAfterDuplFields($table, $uid, abs($origDestPid), 1);
4515
                }
4516
            } elseif ($this->enableLogging) {
4517
                $destPropArr = $this->getRecordProperties('pages', $destPid);
4518
                $this->log($table, $uid, 4, 0, 1, 'Attempt to move page \'%s\' (%s) to inside of its own rootline (at page \'%s\' (%s))', 10, [$propArr['header'], $uid, $destPropArr['header'], $destPid], $propArr['pid']);
4519
            }
4520
        } elseif ($sortRow) {
4521
            // Put after another record
4522
            // Table is being sorted
@@ 4576-4579 (lines=4) @@
4573
                    if ($origDestPid < 0) {
4574
                        $this->fixCopyAfterDuplFields($table, $uid, abs($origDestPid), 1);
4575
                    }
4576
                } elseif ($this->enableLogging) {
4577
                    $destPropArr = $this->getRecordProperties('pages', $destPid);
4578
                    $this->log($table, $uid, 4, 0, 1, 'Attempt to move page \'%s\' (%s) to inside of its own rootline (at page \'%s\' (%s))', 10, [$propArr['header'], $uid, $destPropArr['header'], $destPid], $propArr['pid']);
4579
                }
4580
            } else {
4581
                $this->log($table, $uid, 4, 0, 1, 'Attempt to move record \'%s\' (%s) to after another record, although the table has no sorting row.', 13, [$propArr['header'], $table . ':' . $uid], $propArr['event_pid']);
4582
            }