diff options
Diffstat (limited to 'bridges/WordPressPluginUpdateBridge.php')
-rw-r--r-- | bridges/WordPressPluginUpdateBridge.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/bridges/WordPressPluginUpdateBridge.php b/bridges/WordPressPluginUpdateBridge.php index 80b53ea..9101c4e 100644 --- a/bridges/WordPressPluginUpdateBridge.php +++ b/bridges/WordPressPluginUpdateBridge.php @@ -71,16 +71,4 @@ class WordPressPluginUpdateBridge extends BridgeAbstract { return parent::getName(); } - - private function getCachedDate($url){ - Debug::log('getting pubdate from url ' . $url . ''); - // Initialize cache - $cache = Cache::create('FileCache'); - $cache->setPath(PATH_CACHE . 'pages/'); - $params = [$url]; - $cache->setParameters($params); - // Get cachefile timestamp - $time = $cache->getTime(); - return ($time !== false ? $time : time()); - } } |