You are here

private function FrxFile::deleteMissingEntries in Forena Reports 7.4

1 call to FrxFile::deleteMissingEntries()
FrxFile::validateAllCache in ./FrxFile.inc
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

./FrxFile.inc, line 105
FrxFile.inc File toolbox for manipulating files contained tn the report directory.

Class

FrxFile
@file FrxFile.inc File toolbox for manipulating files contained tn the report directory.

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;
    }
  }
}