Commit c905d7e9 authored by Brion Vibber's avatar Brion Vibber

Drop debug statements on every regex match from Blacklist plugin; filling the...

Drop debug statements on every regex match from Blacklist plugin; filling the logs a little faster than ops likes. :)
parent c6c45101
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment