Project

General

Profile

Actions

Feature #19524

closed

TCEmain changes for new improved record recycling concept

Added by Julian Kleinhans about 16 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
-
Target version:
-
Start date:
2008-10-29
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

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)


Files

recycler.JPG (87 KB) recycler.JPG Administrator Admin, 2008-10-30 13:47
9674_v3.patch (2.46 KB) 9674_v3.patch Administrator Admin, 2009-01-08 11:57
0009674_v4.patch (2.85 KB) 0009674_v4.patch Administrator Admin, 2009-01-08 13:38
Actions

Also available in: Atom PDF