Bug #34156 » 0002-test.patch
t3lib/class.t3lib_tcemain.php | ||
---|---|---|
*/
|
||
function deleteRecord($table, $uid, $noRecordCheck = FALSE, $forceHardDelete = FALSE, $undeleteRecord = FALSE) {
|
||
// Checking if there is anything else disallowing deleting the record by checking if editing is allowed
|
||
$mayEditAccess = $this->BE_USER->recordEditAccessInternals($table, $uid, FALSE, $undeleteRecord, TRUE);
|
||
$forceOrUndelete = ($forceHardDelete || $undeleteRecord);
|
||
// Checking if there is anything else disallowing deleting the record by checking if editing is allowed
|
||
$mayEditAccess = $this->BE_USER->recordEditAccessInternals($table, $uid, FALSE, $forceOrUndelete, TRUE);
|
||
$uid = intval($uid);
|
||
if ($GLOBALS['TCA'][$table] && $uid) {
|
- « Previous
- 1
- 2
- Next »