Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 982-984 (lines=3) @@
979
            if (!$modifyAccessList) {
980
                $this->log($table, 0, 2, 0, 1, 'Attempt to modify table \'%s\' without permission', 1, [$table]);
981
            }
982
            if (!isset($GLOBALS['TCA'][$table]) || $this->tableReadOnly($table) || !is_array($this->datamap[$table]) || !$modifyAccessList) {
983
                continue;
984
            }
985
986
            if ($this->reverseOrder) {
987
                $this->datamap[$table] = array_reverse($this->datamap[$table], 1);
@@ 3281-3283 (lines=3) @@
3278
                $this->log($table, 0, 2, 0, 1, 'Attempt to modify table \'%s\' without permission', 1, [$table]);
3279
            }
3280
            // Check basic permissions and circumstances:
3281
            if (!isset($GLOBALS['TCA'][$table]) || $this->tableReadOnly($table) || !is_array($this->cmdmap[$table]) || !$modifyAccessList) {
3282
                continue;
3283
            }
3284
3285
            // Traverse the command map:
3286
            foreach ($this->cmdmap[$table] as $id => $incomingCmdArray) {