/** * Creates a DELETE SQL-statement for $table where $where-clause * Usage count/core: 3 * * @param string See exec_DELETEquery() * @param string See exec_DELETEquery() * @return string Full SQL query for DELETE */ public function DELETEquery($table, $where) { if (is_string($where)) { $table = $this->quoteFromTables($table); $where = $this->quoteWhereClause($where); $query = parent::DELETEquery($table, $where); if ($this->debugOutput || $this->store_lastBuiltQuery) { $this->debug_lastBuiltQuery = $query; } return $query; } else { die('<strong>TYPO3 Fatal Error:</strong> "Where" clause argument for DELETE query was not a string in $this->DELETEquery() !'); } }