]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/af_comics/filters/af_comics_dilbert.php
plugins: remove obsolete plugin_data/stored stuff
[tt-rss.git] / plugins / af_comics / filters / af_comics_dilbert.php
index 4c2233a3a7687e772e45997f90c8a3b12ff29544..f0e31cf889addedb7b5f6806febb51355599b53d 100644 (file)
@@ -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;
                }