You are here

function _focal_point_flush in Focal Point 7

Flush derivitive images based on a file id.

Parameters

int $fid: The file id of the file entity whose derivitive images are being flushed.

2 calls to _focal_point_flush()
focal_point_delete in ./focal_point.module
Deletes the focal point for the given file entity.
_focal_point_save in ./focal_point.module
Helper function to save a FocalPoint record, and invoke related hooks.

File

./focal_point.module, line 653

Code

function _focal_point_flush($fid) {
  if ($file = file_load($fid)) {
    image_path_flush($file->uri);
  }
}