Bug #30229 » patch-30229-master.diff
typo3/sysext/core/Classes/DataHandling/DataHandler.php | ||
---|---|---|
if ($table != 'pages') {
|
||
$mres = $GLOBALS['TYPO3_DB']->exec_SELECTquery('uid', $table, 'pid=' . (int)$uid . $this->deleteClause($table));
|
||
while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($mres)) {
|
||
$this->copyMovedRecordToNewLocation($table, $row['uid']);
|
||
$this->deleteVersionsForRecord($table, $row['uid'], $forceHardDelete);
|
||
$this->deleteRecord($table, $row['uid'], TRUE, $forceHardDelete);
|
||
if(BackendUtility::getRecord($table, $row['uid'])){
|
||
$this->copyMovedRecordToNewLocation($table, $row['uid']);
|
||
$this->deleteVersionsForRecord($table, $row['uid'], $forceHardDelete);
|
||
$this->deleteRecord($table, $row['uid'], TRUE, $forceHardDelete);
|
||
}
|
||
}
|
||
$GLOBALS['TYPO3_DB']->sql_free_result($mres);
|
||
}
|
- « Previous
- 1
- 2
- 3
- Next »