From e4b314f78a1878a1ff33f4c3499e4a2c25d9b9f4 Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Sun, 28 Aug 2016 19:47:40 +0200 Subject: [PATCH] [Bridge] Enable cache file deletion --- lib/Bridge.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Bridge.php b/lib/Bridge.php index a1e48e9..7f4adee 100644 --- a/lib/Bridge.php +++ b/lib/Bridge.php @@ -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); } }