Ignore:
Timestamp:
Apr 28, 2021, 6:11:27 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Limit display of meet and event to defined time interval.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Meet/Meet.php

    r59 r61  
    111111{
    112112  return ($Char == ' ') or ($Char == "\t");
     113}
     114
     115function GetDefaultMeetFilter($Table = '')
     116{
     117  global $Config;
     118
     119  if ($Table != '') $Table = $Table.'.';
     120
     121  return '('.$Table.'Hidden=0) AND ('.$Table.'Time > "'.TimeToMysqlDateTime(time() - $Config['MeetInterval']).'")';
    113122}
    114123
Note: See TracChangeset for help on using the changeset viewer.