public function deleteRecord($tableName, $uid)
    {
        if (!$this->isNoneSystemTableNameAllowed($tableName)) {
            throw new \InvalidArgumentException('The table name "' . $tableName . '" is not allowed.', 1334439187);
        }

        \Tx_Phpunit_Service_Database::delete(
            $tableName,
            'uid = ' . $uid . ' AND ' . $this->getDummyColumnName($tableName) . ' = 1'
        );
    }
public function deleteRecord($tableName, $uid)
    {
        if (!$this->isNoneSystemTableNameAllowed($tableName)) {
            throw new \InvalidArgumentException('The table name "' . $tableName . '" is not allowed.', 1334439187);
        }

        \Tx_Phpunit_Service_Database::delete(
            $tableName,
            'uid = ' . $uid . ' AND ' . $this->getDummyColumnName($tableName) . ' = 1'
        );
    }
public function deleteRecord ( $ tableName , $ uid ) { if ( ! $ this -> isNoneSystemTableNameAllowed ( $ tableName ) ) { throw new \ InvalidArgumentException ( 'The table name "' . $ tableName . '" is not allowed.' , 1334439187 ) ; } \ Tx_Phpunit_Service_Database :: delete ( $ tableName , 'uid = ' . $ uid . ' AND ' . $ this -> getDummyColumnName ( $ tableName ) . ' = 1' ) ; }
Deletes a dummy record from the database.

Important: Only dummy records from non-system tables can be deleted with
this method. Should there for any reason exist a real record with that
UID, it would not be deleted.

@param string $tableName
name of the table from which the record should be deleted, must
not be empty
@param int $uid
UID of the record to delete, must be > 0

@return void

@throws \InvalidArgumentException
Deletes a dummy record from the database .