Active
Project:
Node registration
Version:
7.x-1.16
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Dec 2015 at 18:42 UTC
Updated:
3 Dec 2015 at 19:03 UTC
Jump to comment: Most recent
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
Comment #2
rudiedirkx commentedThe
delete()on the controller should work and is the preferred method.What does "no luck" mean? Nothing happens? Errors? WSOD?