Changeset 7783

Show
Ignore:
Timestamp:
11/15/10 10:57:38 (3 years ago)
Author:
plg
Message:

bug 2036 fixed: anti flood limitations for user comments should not apply to
administrators.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/2.1/include/functions_comment.inc.php

    r6605 r7783  
    132132  } 
    133133 
    134   if ($comment_action!='reject' and $conf['anti-flood_time']>0 ) 
     134  if ($comment_action!='reject' and $conf['anti-flood_time']>0 and !is_admin()) 
    135135  { // anti-flood system 
    136136    $reference_date = pwg_db_get_flood_period_expression($conf['anti-flood_time']);