summaryrefslogtreecommitdiff
path: root/plugins/af_comics/filters/af_comics_dilbert.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-08-18 18:41:19 +0400
committerAndrew Dolgov <[email protected]>2014-08-18 18:41:19 +0400
commit129d62635430167fbdf837420ca952ccbef7a331 (patch)
treebf133d835c2dfa378872377645fb07fe41196721 /plugins/af_comics/filters/af_comics_dilbert.php
parentb1840673cd4266813f4b86fdb21799e67caf1083 (diff)
plugins: remove obsolete plugin_data/stored stuff
Diffstat (limited to 'plugins/af_comics/filters/af_comics_dilbert.php')
-rw-r--r--plugins/af_comics/filters/af_comics_dilbert.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/af_comics/filters/af_comics_dilbert.php b/plugins/af_comics/filters/af_comics_dilbert.php
index 4c2233a3a..f0e31cf88 100644
--- a/plugins/af_comics/filters/af_comics_dilbert.php
+++ b/plugins/af_comics/filters/af_comics_dilbert.php
@@ -9,7 +9,6 @@ class Af_Comics_Dilbert extends Af_ComicFilter {
$owner_uid = $article["owner_uid"];
if (strpos($article["guid"], "dilbert.com") !== FALSE) {
- if (strpos($article["plugin_data"], "af_comics,$owner_uid:") === FALSE) {
$doc = new DOMDocument();
@$doc->loadHTML(fetch_file_contents($article["link"]));
@@ -36,12 +35,8 @@ class Af_Comics_Dilbert extends Af_ComicFilter {
if ($basenode) {
$article["content"] = $doc->saveXML($basenode);
- $article["plugin_data"] = "af_comics,$owner_uid:" . $article["plugin_data"];
}
}
- } else if (isset($article["stored"]["content"])) {
- $article["content"] = $article["stored"]["content"];
- }
return true;
}