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/Event/Event.php

    r55 r61  
    22
    33include_once(dirname(__FILE__).'/Import/JoeClub.php');
     4
     5function GetDefaultEventFilter($Table = '')
     6{
     7  global $Config;
     8
     9  if ($Table != '') $Table = $Table.'.';
     10
     11  return '('.$Table.'Hidden=0) AND ('.$Table.'TimeFrom > "'.TimeToMysqlDateTime(time() - $Config['EventInterval']).'")';
     12}
    413
    514function ReduceSpaces($Content)
Note: See TracChangeset for help on using the changeset viewer.