Bug #96460 » bugfix.patch
typo3/sysext/workspaces/Classes/Hook/DataHandlerHook.php | ||
---|---|---|
$movePlaceholder = BackendUtility::getMovePlaceholder($table, $liveRec['uid'], 'uid', $record['t3ver_wsid']);
|
||
if (!empty($movePlaceholder)) {
|
||
$this->softOrHardDeleteSingleRecord($table, (int)$movePlaceholder['uid']);
|
||
$dataHandler->deleteL10nOverlayRecords($table, (int)$movePlaceholder['uid']);
|
||
}
|
||
}
|
||
} elseif ($recordVersionState->equals(VersionState::NEW_PLACEHOLDER_VERSION)) {
|
||
... | ... | |
$dataHandler->deleteEl($table, (int)$id);
|
||
if (is_array($placeholderRecord)) {
|
||
$this->softOrHardDeleteSingleRecord($table, (int)$placeholderRecord['uid']);
|
||
$dataHandler->deleteL10nOverlayRecords($table, (int)$placeholderRecord['uid']);
|
||
}
|
||
}
|
||
} else {
|