From 8349a32e751e009ba368b4dc6bc900b08b2954d3 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 16 Mar 2013 16:11:58 +0400 Subject: remove cache_content remnants --- include/rssfuncs.php | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'include/rssfuncs.php') diff --git a/include/rssfuncs.php b/include/rssfuncs.php index feffe0019..156be0b12 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -1268,27 +1268,6 @@ } } - function cache_content($link, $url, $login, $pass) { - - $content = fetch_file_contents($url, $login, $pass); - - if ($content) { - $doc = new DOMDocument(); - @$doc->loadHTML($content); - $xpath = new DOMXPath($doc); - - $node = $doc->getElementsByTagName('body')->item(0); - - if ($node) { - $content = $doc->saveXML($node); - - return $content; - } - } - - return ""; - } - function make_guid_from_title($title) { return preg_replace("/[ \"\',.:;]/", "-", mb_strtolower(strip_tags($title), 'utf-8')); -- cgit v1.2.3