You are here

function focal_point_file_presave in Focal Point 7

Implements hook_file_presave().

File

./focal_point.module, line 304

Code

function focal_point_file_presave($file) {
  if (isset($file->fid) && isset($file->focal_point)) {
    focal_point_save($file->fid, $file->focal_point);
  }
}