mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 08:25:55 +00:00
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
This commit is contained in:
@@ -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"]))) {
|
||||
|
||||
Reference in New Issue
Block a user