You are here

function pCache::DeleteFromCache in Visitors 8

Same name and namespace in other branches
  1. 7.0 pchart/pCache.inc \pCache::DeleteFromCache()

File

pchart/pCache.inc, line 82

Class

pCache

Code

function DeleteFromCache($ID, $Data) {
  $Hash = $this
    ->GetHash($ID, $Data);
  $FileName = $this->CacheFolder . $Hash;
  if (file_exists($FileName)) {
    unlink($FileName);
  }
}