You are here

function _filebrowser_node_content_delete in Filebrowser 7.3

Same name and namespace in other branches
  1. 8 filebrowser.common.inc \_filebrowser_node_content_delete()
  2. 6.2 includes/backend.inc \_filebrowser_node_content_delete()
  3. 7.4 filebrowser.common.inc \_filebrowser_node_content_delete()
  4. 7.2 filebrowser.common.inc \_filebrowser_node_content_delete()

remove all content bits from parent node id.

1 call to _filebrowser_node_content_delete()
filebrowser_delete in ./filebrowser.module
Implements hook_delete().

File

./filebrowser.common.inc, line 229
Misc filebrowser common functions.

Code

function _filebrowser_node_content_delete($node) {
  db_query("\n    DELETE\n    FROM {node_dir_listing_content}\n    WHERE\n      nid = :nid", array(
    ':nid' => $node->nid,
  ));
}