You are here

function pCache::DeleteFromCache in Visitors 7.0

Same name and namespace in other branches
  1. 8 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);
  }
}