1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-19 23:03:01 +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

@@ -12,8 +12,6 @@ class LeMondeInformatiqueBridge extends FeedExpander {
protected function parseItem($newsItem){
$item = $this->parseRSS_1_0_Item($newsItem);
if($this->get_cached_time($item['uri']) <= strtotime('-24 hours'))
$this->remove_from_cache($item['uri']);
$article_html = $this->get_cached($item['uri'])
or $this->returnServerError('Could not request LeMondeInformatique: ' . $item['uri']);
$item['content'] = $this->CleanArticle($article_html->find('div#article', 0)->innertext);