diff options
author | Andrew Dolgov <[email protected]> | 2018-11-30 08:34:29 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-11-30 08:34:29 +0300 |
commit | c10a43069ec1e71b6608574a81fb29c76919e132 (patch) | |
tree | 69b94003a2512b14e488b0553cf944e2bbdba2a8 /plugins/af_comics | |
parent | 758752684c68efd179071cd77c92f78879e68f6d (diff) |
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
Diffstat (limited to 'plugins/af_comics')
-rw-r--r-- | plugins/af_comics/filters/af_comics_pa.php | 7 |
1 files changed, 0 insertions, 7 deletions
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"]))) { |