Issue Feature Closed

#19524TCEmain changes for new improved record recycling concept

Julian Kleinhans 10/29/08, 17:13 updated 08/06/10, 13:23

Description

I need some changes for the new improved record recycling concept [1] in the tcemain

First, to work with deleted records i need the posibility to disable the deleteClause WHERE statement which is used in some relevant methods i need.

In my patch i have add a protected class var $disableDeleteClause and a public setter method disableDeleteClause()
The if statement in the deleteClause method is extended to “if ($TCA[$table][‘ctrl’][‘delete’] && !$this->disableDeleteClause)”

The next thing is a method that checks if i can undelete a record, because, at this moment i can undelete every record with process_cmdmap and undelete, no matter if the parent site is avaiable or not!

[1] http://forge.typo3.org/projects/show/extension-recycler

(issue imported from #M9674)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.