Commit 67ad9d7a authored by Christian Kuhn's avatar Christian Kuhn Committed by Benni Mack
Browse files

[TASK] Separate restore from delete in DataHandler

The DataHandler delete related methods still handle
too many things.
This is yet another divide & conquer patch: Move
the 'undelete' functionality to dedicated methods,
drop handling from 'delete' methods and refactor
The result is a quite straight forward 'undelete'
implementation, plus reduced complexity in 'delete'.

Change-Id: I6ea2326fa2ad6de03c8cd3bd37184fff116fda06
Resolves: #93253
Releases: master

Tested-by: Oliver Bartsch's avatarOliver Bartsch <>
Tested-by: default avatarTYPO3com <>
Tested-by: Benni Mack's avatarBenni Mack <>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <>
Reviewed-by: Benni Mack's avatarBenni Mack <>
parent b66d495e
......@@ -747,7 +747,7 @@ class BackendUserAuthentication extends AbstractUserAuthentication
* @return bool TRUE if OK, otherwise FALSE
* @internal should only be used from within TYPO3 Core
public function recordEditAccessInternals($table, $idOrRow, $newRecord = false, $deletedRecord = false, $checkFullLanguageAccess = false)
public function recordEditAccessInternals($table, $idOrRow, $newRecord = false, $deletedRecord = false, $checkFullLanguageAccess = false): bool
if (!isset($GLOBALS['TCA'][$table])) {
return false;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment