You are here

function filebrowser_update in Filebrowser 6.2

Same name and namespace in other branches
  1. 8 filebrowser.module \filebrowser_update()
  2. 7.4 filebrowser.module \filebrowser_update()
  3. 7.2 filebrowser.module \filebrowser_update()
  4. 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);
  }
}