'.print_r($filterData,TRUE).''; return $filterData; } // Filter for removing old IPs and sending notifications, if enabled for "instant delivery" function FILTER_BEG_PURGE_IPS_NOTIFY_USER ($filterData) { //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!'); // Remove old entries $OLD = getBegTimeout(); if (getBegUseridTimeout() > $OLD) { $OLD = getBegUseridTimeout(); } // END - if // Run the SQL query sqlQueryEscaped('DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_beg_ips` WHERE (UNIX_TIMESTAMP() - `timeout`) >= %s', array($OLD + 60*60), __FUNCTION__, __LINE__); // Check for beg rallye is active and send mails out if ((isBegRallyeEnabled()) && (isBegNewMemberNotifyEnabled())) { // Include file for sending out mails addIncludeToPool('notify', 'inc/mails/beg_mails.php'); } // END - if // Return filter data //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!'); return $filterData; } // Filter to add exclusion SQL for configured userid function FILTER_EXCLUDE_BEG_USERID ($filterData = array()) { // Is it valid? if (isValidId(getBegUserid())) { // Exclude it array_push($filterData, '{?beg_userid?}'); } // END - if // Return it return $filterData; } // [EOF] ?>