/**
  * Wrapper for actual deletion
  *
  * Delete records according to given ready-constructed "where" condition and deletion mode
  * @TODO: use tx_mklib_util_TCA::getEnableColumn to get enablecolumns!
  *
  * @param string	$table
  * @param string	$where		Ready-to-use where condition containing uid restriction
  * @param int		$mode		@see self::handleDelete()
  *
  * @return int anzahl der betroffenen zeilen
  */
 public static function delete($table, $where, $mode)
 {
     tx_rnbase::load('tx_mklib_util_DB');
     return tx_mklib_util_DB::delete($table, $where, $mode);
 }
 /**
  * @expectedException Exception
  * @expectedExceptionMessage tx_mklib_util_DB::delete(): Cannot soft-delete records in table unknown - no $TCA entry found!
  *
  * @group unit
  */
 public function testDeleteWithModeSoftDeleteThrowsExceptionIfNoDeleteColumnInTca()
 {
     tx_mklib_util_DB::delete('unknown', '', tx_mklib_util_DB::DELETION_MODE_SOFTDELETE);
 }