summaryrefslogtreecommitdiff
path: root/plugins
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:47:12 -0700
commit766cf99f211f3d3c20bbe0c94464a5c7c47d6597 (patch)
tree6ac176eed65f9fca855d45bd97d1491b85fadf40 /plugins
parent3227122ac3ed5089e32346a98166dead13c0b3a5 (diff)
Drop debug statements on every regex match from Blacklist plugin; filling the logs a little faster than ops likes. :)
Diffstat (limited to 'plugins')
-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;
}