i'm trying to delete a record in node_registration table
i've tried with db_query() & db_delete() without success.

it returns no error, but the record isn't deleted.
i've also tried with
entity_get_controller('node_registration')->delete(array($reg_id));
but also no luck :/

is there a native method to accomplish this?

Comments

leandro713 created an issue.

rudiedirkx’s picture

The delete() on the controller should work and is the preferred method.

What does "no luck" mean? Nothing happens? Errors? WSOD?