Drop debug statements on every regex match from Blacklist plugin; filling the logs a little faster than ops likes. :)

This commit is contained in:
Brion Vibber 2010-03-26 10:46:36 -07:00
parent 3227122ac3
commit 766cf99f21
1 changed files with 0 additions and 2 deletions

View File

@ -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;
}