summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-26 10:46:36 -0700
committerBrion Vibber <brion@pobox.com>2010-03-26 10:46:36 -0700
commitc905d7e9a02aef87cd883c279f9eeac1c83003b7 (patch)
tree8ea2492bcd3b90d6d29103be8558cba8d7c33232
parentc6c451019253ca5b8be94e8bcc9722d373a10840 (diff)
Drop debug statements on every regex match from Blacklist plugin; filling the logs a little faster than ops likes. :)
-rw-r--r--plugins/Blacklist/BlacklistPlugin.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/Blacklist/BlacklistPlugin.php b/plugins/Blacklist/BlacklistPlugin.php
index a7d0942da..c2b60b7d2 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;
}