summaryrefslogtreecommitdiff
path: root/plugins/af_comics/filters/af_comics_pa.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-11-30 08:34:29 +0300
committerAndrew Dolgov <[email protected]>2018-11-30 08:34:29 +0300
commitc10a43069ec1e71b6608574a81fb29c76919e132 (patch)
tree69b94003a2512b14e488b0553cf944e2bbdba2a8 /plugins/af_comics/filters/af_comics_pa.php
parent758752684c68efd179071cd77c92f78879e68f6d (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/filters/af_comics_pa.php')
-rw-r--r--plugins/af_comics/filters/af_comics_pa.php7
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"]))) {