From c10a43069ec1e71b6608574a81fb29c76919e132 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 30 Nov 2018 08:34:29 +0300 Subject: debug logging system rework: * support various logging levels per-message * remove hacks like debug_suppress, DAEMON_EXTENDED_DEBUG, etc * _debug() is kept as a compatibility shim for plugins --- plugins/af_comics/filters/af_comics_pa.php | 7 ------- 1 file changed, 7 deletions(-) (limited to 'plugins/af_comics/filters/af_comics_pa.php') diff --git a/plugins/af_comics/filters/af_comics_pa.php b/plugins/af_comics/filters/af_comics_pa.php index e6558d8de..7a60feabb 100644 --- a/plugins/af_comics/filters/af_comics_pa.php +++ b/plugins/af_comics/filters/af_comics_pa.php @@ -8,10 +8,6 @@ class Af_Comics_Pa extends Af_ComicFilter { function process(&$article) { if (strpos($article["link"], "penny-arcade.com") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { - /*if ($debug_enabled) { - _debug("af_pennyarcade: Processing comic"); - }*/ - $doc = new DOMDocument(); if ($doc->loadHTML(fetch_file_contents($article["link"]))) { @@ -27,9 +23,6 @@ class Af_Comics_Pa extends Af_ComicFilter { } if (strpos($article["link"], "penny-arcade.com") !== FALSE && strpos($article["title"], "News Post:") !== FALSE) { - /*if ($debug_enabled) { - _debug("af_pennyarcade: Processing news post"); - }*/ $doc = new DOMDocument(); if ($doc->loadHTML(fetch_file_contents($article["link"]))) { -- cgit v1.2.3