You are here

private function FileSystemBase::setFilesToDelete in Forena Reports 8

File

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

Class

FileSystemBase

Namespace

Drupal\forena\File

Code

private function setFilesToDelete() {
  $this->filesToDelete = array();

  //Quickly make a list of files in the cache right now.
  if ($this->cache) {
    foreach ($this->cache as $ext => $files_of_type) {
      $this->filesToDelete[$ext] = array_fill_keys(array_keys($files_of_type), 1);
    }
  }
}