Changeset 7784 for trunk


Ignore:
Timestamp:
Nov 15, 2010, 10:58:19 AM (14 years ago)
Author:
plg
Message:

merge r7783 from branch 2.1 to trunk

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_comment.inc.php

    r7495 r7784  
    125125  }
    126126
    127   if ($comment_action!='reject' and $conf['anti-flood_time']>0 )
     127  if ($comment_action!='reject' and $conf['anti-flood_time']>0 and !is_admin())
    128128  { // anti-flood system
    129129    $reference_date = pwg_db_get_flood_period_expression($conf['anti-flood_time']);
Note: See TracChangeset for help on using the changeset viewer.