You are here

function filebrowser_delete in Filebrowser 7.4

Same name and namespace in other branches
  1. 8 filebrowser.module \filebrowser_delete()
  2. 6.2 filebrowser.module \filebrowser_delete()
  3. 7.2 filebrowser.module \filebrowser_delete()
  4. 7.3 filebrowser.module \filebrowser_delete()

Implements hook_delete(). @inheritdoc

File

./filebrowser.module, line 395

Code

function filebrowser_delete($node) {
  db_query('DELETE FROM {node_dir_listing} WHERE nid = :nid', array(
    ':nid' => $node->nid,
  ));
  _filebrowser_node_content_delete($node);
}