function filebrowser_delete in Filebrowser 8
Same name and namespace in other branches
- 6.2 filebrowser.module \filebrowser_delete()
- 7.4 filebrowser.module \filebrowser_delete()
- 7.2 filebrowser.module \filebrowser_delete()
- 7.3 filebrowser.module \filebrowser_delete()
Implements hook_delete().
File
- ./
filebrowser.module, line 286 - Validates file path input on node form
Code
function filebrowser_delete($node) {
db_query('DELETE FROM {node_dir_listing} WHERE nid = :nid', array(
':nid' => $node->nid,
));
_filebrowser_node_content_delete($node);
}