Properly report filter plugin time (re-fixes PR 98).

master
JustAMacUser 6 years ago
parent d53cdaf815
commit 4b2f3039d2

@ -830,7 +830,7 @@ class RSSUtils {
$start = microtime(true); $start = microtime(true);
$article = $plugin->hook_article_filter_action($article, $pfaction); $article = $plugin->hook_article_filter_action($article, $pfaction);
Debug::log(sprintf("=== %.4f (sec)", Debug::$LOG_VERBOSE)); Debug::log(sprintf("=== %.4f (sec)", microtime(true) - $start), Debug::$LOG_VERBOSE);
} else { } else {
Debug::log("??? $pfclass: plugin object not found.", Debug::$LOG_VERBOSE); Debug::log("??? $pfclass: plugin object not found.", Debug::$LOG_VERBOSE);
} }

Loading…
Cancel
Save