You are here

protected function elFinderVolumeDrupal::FileUsageDelete in elFinder file manager 7.3

Same name and namespace in other branches
  1. 8.2 src/Controller/elFinderVolumeDrupal.php \elFinderVolumeDrupal::FileUsageDelete()
  2. 7.2 inc/elfinder.drupalfs.driver.inc \elFinderVolumeDrupal::FileUsageDelete()
1 call to elFinderVolumeDrupal::FileUsageDelete()
elFinderVolumeDrupal::_unlink in inc/elfinder.drupalfs.driver.inc
Remove file

File

inc/elfinder.drupalfs.driver.inc, line 516
elFinder driver for Drupal filesystem.

Class

elFinderVolumeDrupal
@file

Code

protected function FileUsageDelete($file) {

  // Delete record that the module elfinder is using the file.
  @file_usage_delete($file, 'elfinder', 'elfinderFileFetcher', 0);

  // 0 : means that there is no reference at the moment.
}