]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/af_comics/filters/af_comics_cad.php
plugins: remove obsolete plugin_data/stored stuff
[tt-rss.git] / plugins / af_comics / filters / af_comics_cad.php
index fcc9078197360b3bc0efe5f14d98b279d0fe742f..43836724fb18a005a2abb6ee493e549bad85cc2c 100644 (file)
@@ -9,7 +9,7 @@ class Af_Comics_Cad extends Af_ComicFilter {
                $owner_uid = $article["owner_uid"];
 
                if (strpos($article["link"], "cad-comic.com/cad/") !== FALSE) {
-                       if (strpos($article["title"], "News:") === FALSE && strpos($article["plugin_data"], "af_comics,$owner_uid:") === FALSE) {
+                       if (strpos($article["title"], "News:") === FALSE) {
 
                                $doc = new DOMDocument();
                                @$doc->loadHTML(fetch_file_contents($article["link"]));
@@ -22,12 +22,9 @@ class Af_Comics_Cad 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;