You are here

private function FileBase::deleteMissingEntries in Forena Reports 7.5

Same name and namespace in other branches
  1. 8 src/File/FileBaseOld.php \Drupal\forena\File\FileBase::deleteMissingEntries()
1 call to FileBase::deleteMissingEntries()
FileBase::validateAllCache in src/File/FileBase.php
Called anytime we want to make sure the include cache is good and complete. Any file modifications will cause cache to be rebuild to be rebuilt.

File

src/File/FileBase.php, line 107
FileBase.inc File toolbox for manipulating files contained tn the report directory.

Class

FileBase

Namespace

Drupal\forena\File

Code

private function deleteMissingEntries() {
  foreach ($this->filesToDelete as $ext => $files_of_type) {
    foreach ($files_of_type as $base_name => $val) {
      unset($this->cache[$ext][$base_name]);
      $this->needSave = TRUE;
    }
  }
}