[Bridge] Enable cache file deletion

This commit is contained in:
logmanoriginal 2016-08-28 19:47:40 +02:00
parent 7363acfa6b
commit e4b314f78a

View file

@ -465,8 +465,8 @@ abstract class HttpCachingBridgeAbstract extends BridgeAbstract {
// TODO build this from the variable given to Cache
$cacheDir = __DIR__ . '/../cache/pages/';
$filepath = $this->buildCacheFilePath($url, $cacheDir);
$this->debugMessage('removing from cache \'' . $filepath . '\' WELL, NOT REALLY');
// unlink($filepath);
$this->debugMessage('removing from cache \'' . $filepath . '\'');
unlink($filepath);
}
}