From: Brion Vibber Date: Fri, 26 Mar 2010 17:46:36 +0000 (-0700) Subject: Drop debug statements on every regex match from Blacklist plugin; filling the logs... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=766cf99f211f3d3c20bbe0c94464a5c7c47d6597;p=quix0rs-gnu-social.git Drop debug statements on every regex match from Blacklist plugin; filling the logs a little faster than ops likes. :) --- diff --git a/plugins/Blacklist/BlacklistPlugin.php b/plugins/Blacklist/BlacklistPlugin.php index a7d0942da5..c2b60b7d26 100644 --- a/plugins/Blacklist/BlacklistPlugin.php +++ b/plugins/Blacklist/BlacklistPlugin.php @@ -266,7 +266,6 @@ class BlacklistPlugin extends Plugin private function _checkUrl($url) { foreach ($this->_urlPatterns as $pattern) { - common_debug("Checking $url against $pattern"); if (preg_match("/$pattern/", $url)) { return false; } @@ -288,7 +287,6 @@ class BlacklistPlugin extends Plugin private function _checkNickname($nickname) { foreach ($this->_nicknamePatterns as $pattern) { - common_debug("Checking $nickname against $pattern"); if (preg_match("/$pattern/", $nickname)) { return false; }