summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-16 16:11:58 +0400
committerAndrew Dolgov <[email protected]>2013-03-16 16:11:58 +0400
commit8349a32e751e009ba368b4dc6bc900b08b2954d3 (patch)
tree43543e00f018a67df6b0fcf3ff738e4faddf3bf6 /include
parentcc38c8e5497a8a86c3cc23f4f9e279a412c57727 (diff)
remove cache_content remnants
Diffstat (limited to 'include')
-rw-r--r--include/functions.php4
-rw-r--r--include/rssfuncs.php21
2 files changed, 0 insertions, 25 deletions
diff --git a/include/functions.php b/include/functions.php
index dd40b9529..f17828d1d 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -3034,10 +3034,6 @@
}
}
- if ($cache_content && $line["cached_content"] != "") {
- $line["content"] =& $line["cached_content"];
- }
-
$rv['content'] .= $line["content"];
$rv['content'] .= format_article_enclosures($link, $id,
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'));