You are here

function globallink_file_entity_check_delete in GlobalLink Connect for Drupal 7.7

1 call to globallink_file_entity_check_delete()
globallink_background_pull in ./globallink_background_jobs.inc
Pull submissions or documents

File

globallink_file_entity/globallink_file_entity.inc, line 523

Code

function globallink_file_entity_check_delete($fid) {
  $entity = entity_load('file', FALSE, array(
    'fid' => $fid,
  ));
  if (empty($entity)) {
    return TRUE;
  }
  return FALSE;
}