Changeset 6604 for trunk/include/dblayer/functions_mysql.inc.php
- Timestamp:
- Jun 25, 2010, 9:43:44 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/dblayer/functions_mysql.inc.php
r6578 r6604 561 561 */ 562 562 563 564 563 function pwg_db_get_recent_period_expression($period, $date='CURRENT_DATE') 565 564 { … … 581 580 } 582 581 582 function pwg_db_get_flood_period_expression($seconds) 583 { 584 return 'SUBDATE(now(), INTERVAL '.$seconds.' SECOND)'; 585 } 586 583 587 function pwg_db_get_hour($date) 584 588 {
Note: See TracChangeset
for help on using the changeset viewer.