Ignore:
Timestamp:
Jun 25, 2010, 9:45:19 PM (14 years ago)
Author:
nikrou
Message:

Bug 1744 fixed : Incorrect use of timezone with SQLite
Fixed anti-flood system.

Merge from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/include/dblayer/functions_mysql.inc.php

    r6579 r6605  
    561561 */
    562562
    563 
    564563function pwg_db_get_recent_period_expression($period, $date='CURRENT_DATE')
    565564{
     
    581580}
    582581
     582function pwg_db_get_flood_period_expression($seconds)
     583{
     584  return 'SUBDATE(now(), INTERVAL '.$seconds.' SECOND)';
     585}
     586
    583587function pwg_db_get_hour($date)
    584588{
Note: See TracChangeset for help on using the changeset viewer.