From 3a92a1e04b0bdda0b187dd61dfe7e1e675f04d6b Mon Sep 17 00:00:00 2001
From: logmanoriginal <logmanoriginal@users.noreply.github.com>
Date: Sat, 10 Sep 2016 00:09:10 +0200
Subject: [PATCH] [HttpCachingBridgeAbstract] Remove get_cached_time and
 remove_from_cache

Bridges no longer require to check cache file durations
manually as get_cached now supports the duration parameter
---
 lib/HttpCachingBridgeAbstract.php | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/lib/HttpCachingBridgeAbstract.php b/lib/HttpCachingBridgeAbstract.php
index 66530640..1000704f 100644
--- a/lib/HttpCachingBridgeAbstract.php
+++ b/lib/HttpCachingBridgeAbstract.php
@@ -45,23 +45,7 @@ abstract class HttpCachingBridgeAbstract extends BridgeAbstract {
         return str_get_html($content);
     }
 
-     public function get_cached_time($url){
-        $filepath = $this->buildCacheFilePath($url);
-
-        if(!file_exists($filepath)){
-            $this->get_cached($url);
-        }
-
-        return filectime($filepath);
-    }
-
     private function buildCacheFilePath($url){
         return __DIR__ . '/../cache/pages/' . sha1($url) . '.cache';
     }
-
-    public function remove_from_cache($url){
-        $filepath = $this->buildCacheFilePath($url);
-        $this->debugMessage('removing from cache \'' . $filepath . '\'');
-        unlink($filepath);
-    }
 }