From 766cf99f211f3d3c20bbe0c94464a5c7c47d6597 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 26 Mar 2010 10:46:36 -0700 Subject: [PATCH] Drop debug statements on every regex match from Blacklist plugin; filling the logs a little faster than ops likes. :) --- plugins/Blacklist/BlacklistPlugin.php | 2 -- 1 file changed, 2 deletions(-) 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; } -- 2.39.5