You are here

function menu_node_record_delete in Menu Node API 7

(Deprecated) Delete a record from {menu_node} and run hook_menu_node_record_delete().

We deliberately run the hook before the delete, in case any module wishes to run a JOIN on the {menu_node} table.

Parameters

$node: The node being deleted.

Return value

No return. hook_menu_node_record_delete() is invoked.

File

./menu_node.module, line 362
Menu Node API Manages relationships between the {node} and {menu_links} table.

Code

function menu_node_record_delete($node) {
  menu_node_record_delete_by_node($node);
}