function filebrowser_update in Filebrowser 6.2
Same name and namespace in other branches
- 8 filebrowser.module \filebrowser_update()
- 7.4 filebrowser.module \filebrowser_update()
- 7.2 filebrowser.module \filebrowser_update()
- 7.3 filebrowser.module \filebrowser_update()
Implementation of hook_update().
File
- ./
filebrowser.module, line 224
Code
function filebrowser_update($node) {
_filebrowser_prepare_record($node, FALSE);
drupal_write_record("node_dir_listing", $node, 'nid');
if (isset($node->old_path) && $node->old_path != $node->folder_path) {
_filebrowser_node_content_delete($node);
}
}