You are here

private function FileBase::deleteMissingEntries in Forena Reports 8

Same name and namespace in other branches
  1. 7.5 src/File/FileBase.php \Drupal\forena\File\FileBase::deleteMissingEntries()
1 call to FileBase::deleteMissingEntries()
FileBase::validateAllCache in src/File/FileBaseOld.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/FileBaseOld.php, line 108
FileSystemBase.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;
    }
  }
}