[TYPO3] Deleting records from the back end

Stephen Bungert s.bungert at metrinomics.de
Fri Jun 6 18:16:34 CEST 2008


In my backend module I have an image of a trashcan for deleting thar record
from the database. 

Why does this not work?

// Check if something has been deleted
if ($this->delCheck) {
	$changes = array(
		'deleted' => 0,
		);
	 $GLOBALS['TYPO3_DB']->UPDATEquery('tx_metri_secure_log', 'uid=' .
$this->delCheck, $changes);
}

It doesn't change the deleted field to 1.



More information about the TYPO3-english mailing list