function image_filefield_paths_update in File (Field) Paths 6
Implements hook_filefield_paths_update().
File
- modules/
image.inc, line 95 - Provides FileField Paths integration with the Image module.
Code
function image_filefield_paths_update($oid, $field) {
$node = node_load($oid);
if (isset($node->images)) {
// Flag files for update.
$node->new_file = TRUE;
// Process Node.
filefield_paths_nodeapi($node, 'update', NULL, NULL);
}
}