I can't reproduce that, though I'm testing with the tweaked code.
Here's the unified diff for library/Model/SpamPrevention.php:
Rich (BB code):
@@ -127,21 +127,14 @@
{
$flagCount = $this->_getSfsSpamFlagCount($apiResponse);
if ($sfsOptions['moderateThreshold'] && $flagCount >= (int)$sfsOptions['moderateThreshold'])
{
- if ($sfsOptions['denyThreshold'] && $flagCount >= (int)$sfsOptions['denyThreshold'])
- {
- $decision = self::RESULT_DENIED;
- }
- else
- {
- $decision = self::RESULT_MODERATED;
- }
-
- /*if ($sfsOptions['submitRejections'])
- {
- $this->submitSpamUserData($user);
- }*/
+ $decision = self::RESULT_MODERATED;
+ }
+
+ if ($sfsOptions['denyThreshold'] && $flagCount >= (int)$sfsOptions['denyThreshold'])
+ {
+ $decision = self::RESULT_DENIED;
}
if (!$fromCache)
{
You can add the lines in green and remove the lines in red. (Don't include the leading - or + on those lines.)