Changeset 7783 for branches/2.1


Ignore:
Timestamp:
Nov 15, 2010, 10:57:38 AM (13 years ago)
Author:
plg
Message:

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

File:
1 edited

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']);
Note: See TracChangeset for help on using the changeset viewer.