1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-20 07:11:43 +02:00

[bridges] Remove calls to get_cached and remove_from_cache

This commit is contained in:
logmanoriginal
2016-09-10 00:19:24 +02:00
parent 3a92a1e04b
commit 3a94956915
16 changed files with 0 additions and 36 deletions

View File

@@ -86,8 +86,6 @@ class FuturaSciencesBridge extends FeedExpander {
protected function parseItem($newsItem){
$item = $this->parseRSS_2_0_Item($newsItem);
$item['uri'] = str_replace('#xtor=RSS-8', '', $item['uri']);
if($this->get_cached_time($item['uri']) <= strtotime('-24 hours'))
$this->remove_from_cache($item['uri']);
$article = $this->get_cached($item['uri'])
or $this->returnServerError('Could not request Futura-Sciences: ' . $item['uri']);
$item['content'] = $this->ExtractArticleContent($article);