aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions_comment.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/functions_comment.inc.php b/include/functions_comment.inc.php
index 4d004589b..9ebe2e317 100644
--- a/include/functions_comment.inc.php
+++ b/include/functions_comment.inc.php
@@ -267,6 +267,7 @@ function update_user_comment($comment, $post_key)
$comment_action='reject';
}
+/* ? this is a MySql Error - author_id is not defined
if ($comment_action!='reject' and $conf['anti-flood_time']>0 )
{ // anti-flood system
$reference_date = time() - $conf['anti-flood_time'];
@@ -280,7 +281,7 @@ SELECT id FROM '.COMMENTS_TABLE.'
$comment_action='reject';
}
}
-
+*/
// perform more spam check
$comment_action =
trigger_event('user_comment_check',