X-Git-Url: https://git.wh0rd.org/?p=tt-rss.git;a=blobdiff_plain;f=plugins%2Faf_comics%2Ffilters%2Faf_comics_cad.php;h=43836724fb18a005a2abb6ee493e549bad85cc2c;hp=fcc9078197360b3bc0efe5f14d98b279d0fe742f;hb=129d62635430167fbdf837420ca952ccbef7a331;hpb=b1840673cd4266813f4b86fdb21799e67caf1083 diff --git a/plugins/af_comics/filters/af_comics_cad.php b/plugins/af_comics/filters/af_comics_cad.php index fcc90781..43836724 100644 --- a/plugins/af_comics/filters/af_comics_cad.php +++ b/plugins/af_comics/filters/af_comics_cad.php @@ -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;