af_comics_cad: do not process news posts

master
Andrew Dolgov 10 years ago
parent 463bcb7769
commit 98c7f6299a

@ -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["plugin_data"], "af_comics,$owner_uid:") === FALSE) {
if (strpos($article["title"], "News:") === FALSE && strpos($article["plugin_data"], "af_comics,$owner_uid:") === FALSE) {
$doc = new DOMDocument();
@$doc->loadHTML(fetch_file_contents($article["link"]));

Loading…
Cancel
Save