You are here

protected function DrupalFileCache::delete_one in File Cache 7

Delete a single cache object.

Parameters

$cid: Cache ID.

1 call to DrupalFileCache::delete_one()
DrupalFileCache::clear in ./filecache.inc
Expire data from the cache. If called without arguments, expirable entries will be cleared from the cache_page and cache_block bins.

File

./filecache.inc, line 451
DrupalFileCache class that implements DrupalCacheInterface.

Class

DrupalFileCache

Code

protected function delete_one($cid) {
  $filename = $this->directory . '/' . $this
    ->encode_cid($cid);
  @unlink($filename);
}