]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Drop debug statements on every regex match from Blacklist plugin; filling the logs...
authorBrion Vibber <brion@pobox.com>
Fri, 26 Mar 2010 17:46:36 +0000 (10:46 -0700)
committerBrion Vibber <brion@pobox.com>
Fri, 26 Mar 2010 17:46:36 +0000 (10:46 -0700)
plugins/Blacklist/BlacklistPlugin.php

index a7d0942da51a7b151ccd6c600805fba3d03edb77..c2b60b7d265ef2536328e045e3e2e2652549d0a4 100644 (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;
             }